Skip to content

Latest commit

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

web

HTML + validated CSS in one nimony block. A declarative DSL that builds a typed HTML tree and, inline, validates every style declaration against the MDN grammar and lowers each style: block to a single scoped class. Sits on top of html and css. For nimony / Nim 3.0.

📖 Full docs → aoughwl.github.io/docs/web

import web
let page = web:
box:
style:
color: red
padding: 10.px20.px
h1"Hello, nimony"echorender(page) # <div class="cc9ece13d"><h1>Hello, nimony</h1></div>echorenderStylesheet() # .cc9ece13d{color:red;padding:10px 20px}

About

HTML + validated CSS in one nimony block: a declarative DSL that builds a typed HTML tree and inline-validates every style declaration against the MDN grammar, lowering each style block to a single scoped class. Sits on html + css.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages