diff --git a/readme.md b/readme.md index 3c9c74f..7f7a660 100644 --- a/readme.md +++ b/readme.md @@ -3,44 +3,62 @@ A functional-friendly helper library for procedural DOM generation and templating. -Skooma provides two proxies: `html` and `svg`. +## Overview + +```js +import {html} from "skooma.js" + +document.body.append(html.div( + html.h1("Hello, World!"), + html.p("Skooma is cool", {class: "amazing"}), + html.button("Show Proof", click: event => { alert("It's true!") }) +)) +``` ## Interface / Examples +### HTML generation + ```js html.div() -// Creates a