Adds syntax highlight support for code, placed in es6 multiline strings:
es6-string-html
from extensions (ctrl + shift + x
)If you've found this extension useful, you can give me a cup of coffee :)
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
/*html*/
before the string. (also works with CSS, SQL, SVG, XML, JavaScript, just use the appropriate word) Possible values:/*css*/
/*html*/
/*inline-html*/
/*template*/
/*inline-template*/
/*javascript*/
or /*js*/
/*typescript*/
or /*ts*/
html
before the stringEnjoy!