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!(<html>"hello world"</html>), "<html>hello world</html>");