Skip to main content

convert_with_diagnostics

Function convert_with_diagnostics 

Source
pub fn convert_with_diagnostics(
    input: &Path,
    output: &Path,
    bare: bool,
    unsafe_html: bool,
    private_output: bool,
    css_override: Option<&Path>,
    verbose: bool,
) -> bool
Expand description

Full render workflow with optional --verbose timing diagnostics.

The generated HTML is byte-identical whether or not verbose is set: timings are measured around the existing stages and reported to stderr only after a fully successful render.