Clone in a terminal:
main.rs
test-fail-messages/include/ - Rename project to kaja-html-macro
use kaja_html_macro::html; fn main() { // missing slash in include let html = html! {{ <html> <body> <include include_tag_function() > </body> </html> }}; }

File history (2 commits)

5666609 Johan Mattsson - johan.mattsson.m@gmail.com
Rename project to kaja-html-macro
Rename project to kaja-html-macro
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