Skip to main content

validate

Function validate 

Source
pub fn validate(
    pages: &[Page],
    document: &Document,
    rendered_markdown: &str,
) -> ConversionReport
Expand description

Compares what was extracted against what was rendered, and tallies the block types found, so every conversion produces an auditable report rather than a silent best-effort guess.