323: Updated js and html templates for consistency and ease of use
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
Usage: Install the VSCode extension "Quill".
|
||||
|
||||
## Boilerplate:
|
||||
- ```*page```: Type in an HTML file and select the suggestion to create HTML 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.
|
||||
- ```addStyle```: Adds a style to a Quill style tag in the head.
|
||||
- ```create```: Creates a parsed HTML element (which is not yet in the DOM)
|
||||
- ```html```: Creates a parsed HTML element (which is not yet in the DOM)
|
||||
Reference in New Issue
Block a user