---
name: rust-maud
description: Write HTML in Rust using Maud — compile-time verified html! macro, component patterns, PreEscaped, Render trait, integration with Axum/Actix.
license: MIT
---
# rust-maud skill
## What I do
Guide Maud template engine usage in Rust.
Maud compiles templates to Rust code at compile time.
## Quick Start
```rust
use maud::html;
let name = "World";
let markup = html! {
h1 { "Hello, " (name) "!" }
};
```
```toml
[dependencies]
maud = "*"
```
## Syntax
### Text and Escaping
```rust
html! { "Oatmeal, are you crazy?" } // Literal text
html! { pre { r#"Rocks, these are my rocks."# } } // Raw strings
html! { (PreEscaped("