Skip to content
| Marketplace
Sign in
Visual Studio>Tools>NestLight
NestLight

NestLight

Raphael Augusto

|
113 installs
| (2) | Free
Syntax highlighting for languages embedded in strings: HTML, CSS, SQL, JSON, GraphQL, XML, Markdown, YAML, regular expressions, shaders (GLSL, WGSL), Shell/Bash and TOML inside JavaScript / TypeScript
Download

NestLight

Syntax highlighting and editing help for languages embedded in strings, in Visual Studio 2022 / 2026.

HTML, SQL or CSS inside a string usually shows up as one flat color. NestLight recognizes code embedded in string literals and colors it as its own language. It also offers completion, diagnostics for structural errors, and go-to-definition and rename for CSS classes and ids. It never edits, formats or rewrites your code.

By default, a string is highlighted only when you mark it, with a tag (such as html`...`) or a marker comment (such as // language=sql). Optional automatic detection, off by default, can also guess the language of unmarked strings.

Supported

  • Hosts: JavaScript / TypeScript, C#, Python, C++, Rust, Go and Java
  • Embedded languages: HTML, CSS, SQL, JSON, GraphQL, XML, Markdown, YAML, regular expressions and shaders (GLSL, WGSL)

Learn more

Usage examples, marker syntax, color customization and known limitations are documented on GitHub:

github.com/Maharal/nestlight-vs

Found a bug or want a new language? Open an issue.

MIT licensed. Copyright (c) 2026 Raphael Augusto Teixeira Silva.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft