For syntax highlighting Quill functions, as well as css and html strings.
Forked from the below repo.
Boilerplate:
*html: Type in an HTML file and select the suggestion to create HTML boilerplate.
*element: Type in a JS file and select the suggestion to create JS Custom Element boilerplate.
Functions:
Clone this repository into the top level of the project you are working on, so the HTML can find the "quill.js" functions.
Use backticks with both to get HTML and CSS syntax highlighting.
css() or addStyle(): Adds a style to a Quill style tag in the head.
html(): Creates a parsed HTML element (which is not yet in the DOM)
If you've found this extension useful, you can give me a cup of coffee :)
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
Visual Studio Code v1.19.0 and higher
Comment /*html*/ before the string. (also works with CSS, SQL, SVG, XML, just use the appropriate word) Possible values:
/*css*/
/*html*/
/*inline-html*/
/*template*/
/*inline-template*/
Or
html before the string
Release Notes
[...]
See changelog for previous notes
[2.7.0] - 2021-04-23
Fixed
SQL highlight stops after encountering an identifier delimiter `