inline-xml

Inline XML data directly into your Rust code.

Example

``` rust use inline_xml::xml;

fn main() { let value = 42; let html = xml! { Example

Example

Hello World

Value: {value}

};

println!("{html}");

} ```

Syntax issues

Since Rust will tokenize the input and proc_macro_span is not stabilized, whitespace will be discarded and therefore inline_xml has to guess about where to put whitespace when printing.

TODO