Skip to main content

classify_ranges

Function classify_ranges 

Source
pub fn classify_ranges(source: &str) -> Vec<ClassifiedRange>
Expand description

Classify every emitted byte range in the source by structural role.

Ranges tagged Prose are suitable for bare mention scanning. Non-prose ranges (headings, code, frontmatter, wikilinks, etc.) must be left untouched.