Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>HTML Highlighter for template strings in JS/TSNew to Visual Studio Code? Get it now.
HTML Highlighter for template strings in JS/TS

HTML Highlighter for template strings in JS/TS

Anton Nyman

|
176 installs
| (0) | Free
HTML Highlighter for template strings in JS/TS
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
worktop

VSCode syntax highlighting for HTML JS/TS string template literals

This plugin allows for syntax highlighting when working with HTML in string template literals. Useful if you're working in a simple Node/Bun/Deno project and just want to inline some HTML.

// Similar syntax to Apollo GraphQL higlighting in VSCode

let htmlString = /* html */ `<!DOCTYPE html><head><title>Hello World!</title></head><body></body></html>`

Note! This plugin will just highlight. It doesn't support formatting, LSP etc.

Add extension to VSCode

Working with SQL in raw string literals using Go? Check out my other plugin (that this one is based on): SQL Syntax Highlighter for Go

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