/vscode-lit-html

Adds syntax highlighting for html inside of JavaScript and TypeScript tagged template strings

MIT LicenseMIT

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