Right now there is no stable version of hsml available. I'm just working on it.
hsml is a hyper short markup language that is inspired by pug (aka jade).
hsmlis written in Rust and compiles to HTML.- There will be a binary that can take CLI arguments to compile a
.hsmlfile to a.htmlfile, but also there will be some other arguments to e.g. format a.hsmlfile. - There will be also a library that can parse a
.hsmlfile and return an AST for it. It is planned that this AST can be used in the JS ecosystem as well, so tools like ESLint and Prettier can work with it. - There are two major differences between
pugandhsmlhsmlwill support TailwindCSS and similar CSS frameworks out of the box, even with arbitrary values like.bg-[#1da1f2]orlg:[&:nth-child(3)]:hover:underlinehsmlwill not support template engine syntax. It is just an HTML preprocessor.
- I want to learn Rust
- I use
pugfor my projects but sadlypug's goal mismatches my preferences and comes with a lot of overhead I don't need
