0x00000001A / es6-string-html

Highlight code in ES6 multiline strings
https://marketplace.visualstudio.com/items?itemName=Tobermory.es6-string-html
MIT License
132 stars 79 forks source link
css es6 es6-string-template highlight highlight-html highlight-sql html multiline-strings syntax-highlighting visual-studio-code xml

ES6 String HTML

VSCode Marketplace

Open VSX Registry

Adds syntax highlight support for code, placed in es6 multiline strings:

Community

Installation

Donation

If you've found this extension useful, you can give me a cup of coffee :)

"Buy Me A Coffee"

Example

Example

Usage

Simply insert the comment /*html*/ or html (also works with SQL, SVG, XML, just use the appropriate word) before the string (see Requirements "section" for possible values) or select Insert es6-string-html comment/template from the commands menu (ctrl+shift+p or f1)

Tip: Comment in the beginning of es6 string is required

Requirements

Release Notes

[...]

[2.8.0] - 2021-04-23

Fixed

[2.9.0] - 2021-05-18

Improved

[2.10.0] - 2021-06-03

Improved

[2.11.0] - 2021-10-05

Improved

[2.12.0] - 2021-10-05

Fixed

[2.14.1] - 2023-12-26

Improved

[2.15.0] - 2024-04-01

Added

[2.16.0] - 2024-07-14

Added

Enjoy!