Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>[DEPRECATED] Web component HTML formatter and highlighterNew to Visual Studio Code? Get it now.
[DEPRECATED] Web component HTML formatter and highlighter

[DEPRECATED] Web component HTML formatter and highlighter

Thomas Melchior Ziirsen

|
464 installs
| (0) | Free
Format and highlight HTML code inside ES6 string literal in JavaScript or TypeScript
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

[DEPRECATED] Web Component HTML formatter and syntax highlighter

!!!! DEPRECATED !!!!

This extension has been moved to here, where support will continue

What does it solve?

This extension has been created to improve development of Web Components created with JavaScript or TypeScript. It syntax highlights HTML inside ES6 string literals, formats and indents.

Usage

Use /*html*/ to let VS Code know which literals to apply it to.

It will format the document on save, if enabled, and with the format keybinding shift+alt+f

Example

To come

Support for CSS syntax and formatting

Inspiration for this extension is from

  • Inline HTML
  • Format HTML in PHP

License

This software is released under the terms of the DOOM license - beware!

History

  • v1.0.0 - It's LIVE!
  • v1.0.3 - Added support for using workspace tabSize with beautify
  • v1.0.4 - Moved ownership to own Azure Organization
  • v1.0.5 - Added depreciation message
  • v1.0.6 - Added depreciation message to VS code with install link
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft