Clone in a terminal:
Cargo.toml
Repository root - Revert "Edition"
[package]
name = "kaja-html-macro"
version = "1.0.5"
edition = "2024"
description = "HTML macro"
license = "MIT"
repository = "https://github.com/johanmattssonm/kaja-html-macro"
readme = "README.md"
keywords = ["html", "web", "macro"]

[lib]
proc-macro = true

[dependencies]
proc-macro-error = "1.0.4"
proc-macro2 = "1"
quote = "1"
syn = "2.0.101"

File history (10 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
edf6e01 Johan Mattsson - johan.mattsson.m@gmail.com
Fix single quote issue
Fix single quote issue
ab2638b Johan Mattsson - johan.mattsson.m@gmail.com
1.0.4
1.0.4
9922562 Johan Mattsson - johan.mattsson.m@gmail.com
Version 1.0.3
Version 1.0.3
09d6d11 Johan Mattsson - johan.mattsson.m@gmail.com
Escape less
Escape less
a7ea9a6 Johan Mattsson - johan.mattsson.m@gmail.com
v1.0.1
v1.0.1
fc1791e Johan Mattsson - johan.mattsson.m@gmail.com
Metadata
Metadata
4c7fd34 Johan Mattsson - johan.mattsson.m@gmail.com
License: MIT
License: MIT
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