Clone in a terminal:
Cargo.toml
test-fail-messages/variable/ - Revert "Edition"
[workspace]

[package]
name = "variable"
version = "0.1.0"
edition = "2024"

[dependencies]
htmlmacro = { path = "../../" }

[[bin]]
name = "variable"
path = "main.rs"

File history (3 commits)

e644be6 Johan Mattsson - johan.mattsson.m@gmail.com
Revert "Edition"
Revert "Edition"

This reverts commit 9f3c1ef4f9d7cae30cca27da3e4ff13921fb9c3a.
9f3c1ef Johan Mattsson - johan.mattsson.m@gmail.com
Edition
Edition
c95af61 Johan Mattsson - johan.mattsson.m@gmail.com
HTML macro for Rust projects
HTML macro for Rust projects

This is a macro that creates a Rust String from an HTML block.

Example:
let content = html!{{ <html></html> }}

Created by Johan Mattsson for Kajacode.

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112