Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>html-untaggedNew to Visual Studio Code? Get it now.
html-untagged

html-untagged

kuhe

|
9,167 installs
| (1) | Free
Fork of vscode-lit-html but for untagged templates, so not really lit-html related anymore.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

See original repo for information.

This fork adds syntax highlighting for untagged strings in addition to the original's functionality of tagged templates.

You must opt-in for this syntax highlighting by either using a const export assignment, or with the prefix /*html*/.

Examples:

export const templateString = `
    <div>Hello</div>
`;
/*html*/`
    <div>Hello</div>
`;

Here is a picture:

Notes, References:

https://marketplace.visualstudio.com/items?itemName=kuhe.html-untagged#overview

https://code.visualstudio.com/docs/extensions/publish-extension

https://kuhe.visualstudio.com

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft