# shelly-macros

Macros for Shelly LiveView.

Current surface:

- `html!` for mixed static/dynamic template construction with escaped dynamic
  segments
- `#[live_view]` placeholder attribute for future metadata expansion

## Install

```bash
cargo add shelly-macros
```

## Example

```rust,ignore
use shelly_macros::html;

let user_name = "Ada";
let template = html! {
    "<p>Hello " (user_name) "</p>"
};
```

## API Docs

<https://docs.rs/shelly-macros>
