This commit is contained in:
metacryst
2024-02-22 12:41:24 -06:00
parent e5681e3af4
commit a468490c42
3 changed files with 249 additions and 0 deletions

View File

@@ -7,6 +7,20 @@
Usage: Install the VSCode extension "Quill".
## Rendering Elements:
```
document.body.append(
p("Hi")
.padding("top", 12),
Link({href: "google.com", name: "hey"})
.background("green")
// NavigationBar()
// .onClick()
)
```
## 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.
@@ -16,3 +30,5 @@ Clone this repository into the top level of the project you are working on, so t
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)