[][src]Function moxie_dom::render_html

pub fn render_html<Root>(root: impl FnMut() -> Root + 'static) -> String where
    Root: Child + 'static, 

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.

Requires the rsdom feature.