diff --git a/README.md b/README.md index fb055d2..d048bfd 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,11 @@ > A static site generator written in Rust. -## Declarative Shadow DOM polyfill - -```javascript -// https://web.dev/declarative-shadow-dom/#polyfill -(function attachShadowRoots(root) { - root.querySelectorAll("template[shadowrootmode]").forEach(template => { - const mode = template.getAttribute("shadowrootmode"); - const shadowRoot = template.parentNode.attachShadow({ mode }); - shadowRoot.appendChild(template.content); - template.remove(); - attachShadowRoots(shadowRoot); - }); -})(document); +## Installation +Install it from [Cargo](https://crates.io/crates/cheetah): +```shell +cargo install cheetah ``` + +## Usage +See [the website](https://cheetah.farthergate.com). \ No newline at end of file