323: Updated js and html templates for consistency and ease of use

This commit is contained in:
metacryst
2023-09-11 15:29:44 -05:00
parent 8076a87f64
commit e1ce1ce4cc
9 changed files with 92 additions and 63 deletions

View File

@@ -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)