laby

Crate Docs Maintainer License Issues Contributors

laby is a small macro library for writing HTML templates in Rust. Documentation

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

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

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