is_heading_stop

Function is_heading_stop 

Source
fn is_heading_stop(line: &str, level: usize) -> bool
Expand description

Returns true if line is a Markdown heading that should stop content collection for a # Safety section at the given level (1 or 2).