The goal of this crate is to make it easier to build html components on the server side and reuse them.
```bash
cargo add html-pipe
```
```rust
use html_pipe::*;
let mut buf = Buffer::new();
node("html", attr("lang", "en"), node("body", noop, text("Hello World!")))(&mut buf).unwrap();
assert_eq!(buf, "<html lang=\"en\"><body>Hello World</body></html>");
```
- -