You can think of this as HTML 2.
This crates implements a (simple) flavour of KDL called htmeta. This
allows you to write HTML in a better, more comfortable and simpler format than
raw HTML!
Mainly, this gets rid of the tag pairs <> and </>, in favour of good ol' curly brackets.
Here's the same page written in both HTML and htmeta:
<!DOCTYPE html>
<html>
<body>
<h1>Welcome!</h1>
<p>
This is an example page. Very cool!
</p>
</body>
</html>!DOCTYPE html
html {
body {
h1 "Welcome!"
p {
- "This is an example page. Very cool!"
}
}
}I might be biased, but I much prefer htmeta's straightforwardness!
Checkout the repository. You can find examples and more documentation there!
Read the details document for, well, details on what you can do with htmeta!.