Expand description
Content verification module (R6).
Compares captured markdown content against the original web page to verify completeness and accuracy.
Checks: title, headings, paragraphs, code blocks, formulas, blockquote formulas, list items, links, and figure images.
Based on reference implementation from: https://github.com/link-foundation/meta-theory/blob/main/scripts/verify.mjs
Structs§
- Heading
- Heading with level and text.
- Missing
Content - Missing content detected during verification.
- Verify
Options - Verification options.
- Verify
Result - Result of content verification.
- WebContent
- Content extracted from a web page for verification.
Functions§
- normalize_
code - Normalize code for comparison (more lenient than text).
- normalize_
text - Normalize text for comparison.
- verify_
markdown_ content - Verify that markdown contains the expected web page content.