laby

Crate License Docs Maintainer Issues Contributors

laby is a small macro library for writing fast HTML templates in Rust. Read the docs!

```rust let n = html!( head!( title!("laby"), ), body!( p!("Hello, world!"), ), );

let s = render!(DocType::HTML5, s); ```

html <!DOCTYPE html><html><head>laby</head><body><p>Hello, world!</p></body></html>