Adds syntax highlight support for html placed in es6 multiline strings
- Install
es6-string-html
from extensions (ctrl + shift + x
)
Simply insert the comment /*html*/ or html
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
- Visual Studio Code v1.19.0 recommended
- Comment
/*html*/
before the string. Possible values: -
/*html*/
-
/*inline-html*/
-
/*template*/
-
/*inline-template*/
- Or
-
html
before the string
ctrl+shift+h
- Insert/*html*/
ctrl+k h
- Insert/*html*/
``
If this project help you reduce time to develop, you can give me a cup of coffee :)
- Syntax highlighting for html in es6 multiline strings
- Compatibility with Prettier
- Commands and keybindings
- Syntax highlight without a comment
- Follow semver
- JS Syntax highlight
- Single-line comment support
- Compatibility with Prettier
Enjoy!