Skip to main content

validate_code_fences

Function validate_code_fences 

Source
pub fn validate_code_fences(md: &str) -> Vec<DocViolation>
Expand description

Validate code fences — flags bare triple-backtick fences without a language tag.

Tracks open/close state so only opening fences (not closing fences) are checked for a language tag.