Skip to main content

extract_section_spans

Function extract_section_spans 

Source
pub fn extract_section_spans(body: &str) -> Vec<SectionSpan>
Expand description

Extract the ##/### sections of a markdown body with their verbatim line spans. extract_sections is the span-less projection of this.