The block to validate.
Resolved per-rule severities for the semantic pass. Defaults to RULE_DEFAULTS.
Optionalindex: SuppressionIndexSuppression index to consult for semantic findings. Forwarded to checkSemantics.
A ValidationResult carrying the verdict and any warnings.
Validate an extracted Block end to end: structural checks (unclosed / empty fence), semantic warnings, then the fast Rust (
merman) parser with a mermaid.js fallback for anything merman rejects. mermaid.js is treated as authoritative on the final verdict.Bodies that fail
mermanVerdictIsTrustworthyskip the fast path and always consult mermaid.js, because merman claims to accept input it never really parsed.