Skip to main content

render_html

Function render_html 

Source
pub fn render_html(sds: &SdsRoot, lang: Language) -> Result<String, SdsError>
Expand description

Generate an HTML document from an SdsRoot in the given language.

The output is a self-contained UTF-8 HTML5 document with inline CSS including @media print styles suitable for printing to PDF.