pub fn html_document(
engine: &mut Engine<'_>,
content: &Content,
styles: StyleChain<'_>,
) -> SourceResult<HtmlDocument>Expand description
Produce an HTML document from content.
This first performs root-level realization and then turns the resulting elements into HTML.