Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>FAST Tagged Template LiteralsNew to Visual Studio Code? Get it now.
FAST Tagged Template Literals

FAST Tagged Template Literals

FAST

|
1,664 installs
| (2) | Free
Syntax highlighting support for CSS and HTML tagged template literals
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FAST Tagged Template Literals

License: MIT

fast-tagged-templates is a Visual Studio Code extension which enables syntax highlighting for css and html tagged template literals in JavaScript and TypeScript files.

Screenshots

CSS Tagged Templates

Both tagged template literals (css`.style {}`;) and comment-style untagged template literals (/* css */`.style {}`;) are supported.

CSS tagged template

HTML Tagged Templates

In addition to the standard styles, the html syntax highlighting also allows for optional generics in Typescript (html<any>`<div></div>`; and /* html<Generic> */`<div></div>`;).

HTML tagged template

The theme used in the screenshots is Boxy Tomorrow.

Installation

Extension Marketplace

This extension is available in the Visual Studio Code Marketplace.

Manual installation

To install the extension manually, copy or symlink the fast-tagged-templates directory to your extensions folder.

Recommendations

Adjust existing themes

Some theme extensions may need minor adjustments, depending on how their scopes are maintained. To override certain scopes, you may need to add textMateRules to your user settings. For example:

"editor.tokenColorCustomizations": {
  // Fix parentheses on functions and expressions in strings for this particular theme
  "[Boxy Tomorrow]": {
    "textMateRules": [
      { "settings": { "foreground": "#8ABEB7" }, "scope": "meta.brace.round.ts"}
      { "settings": { "foreground": "#C5C8C6" }, "scope": "meta.template.expression.ts"}
    ]
  }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft