Skip to main content

validate_spec_markdown

Function validate_spec_markdown 

Source
pub fn validate_spec_markdown(markdown: &str, strict: bool) -> ValidationReport
Expand description

Validate a spec markdown string and return a structured report.

Main specs represent current truth, so delta-operation headings are reported as formatting findings rather than being accepted as canonical structure. In strict mode, those findings are errors instead of warnings.