[][src]Function moxie_dom::render_html

pub fn render_html(root: impl FnMut() + 'static) -> String

Runs the provided closure once and produces a prettified HTML string from the contents.

If you need more control over the output of the HTML, see the implementation of this function.