Macro html_to_string_macro::html
source · [−]html!() { /* proc-macro */ }
Expand description
Converts HTML to String
.
See syn-rsx docs for supported tags and syntax.
Example
assert_eq!(html_to_string_macro::html!(<div>"hello world"</div>), "<div>hello world</div>");