Adds syntax highlighting for html inside of JavaScript and TypeScript tagged template strings
JavaScript
Clone or download
Latest commit 8c511d4 Jul 9, 2018
Permalink
Failed to load latest commit information.
.vscode Initial commit Oct 11, 2017
docs 1.0.0 Jan 12, 2018
syntaxes Fix nested highlighting Jul 2, 2018
.gitignore Bundle up lit-html plugin Jan 11, 2018
CHANGELOG.md 1.6.1 Jul 9, 2018
LICENSE Initial commit Oct 11, 2017
README.md 1.0.0 Jan 12, 2018
highlighting.test.js Adding basic test case file for highlighting Jul 2, 2018
package-lock.json 1.6.1 Jul 9, 2018
package.json 1.6.1 Jul 9, 2018

README.md

Adds syntax highlighting and language support for html inside of JavaScript and TypeScript tagged template strings, such as used in lit-html and other frameworks.

❗Important: IntelliSense and language support requires VS Code 1.20+.

Usage

The lit-html extension adds highlighting and IntelliSense for lit-html template strings in JavaScript and TypeScript. It works out of the box when you use VS Code's built-in version of TypeScript.

If you are using a workspace version of typescript, you must currently configure the TS Server plugin manually by following these instructions