Skip to main content

classify_paragraph

Function classify_paragraph 

Source
pub fn classify_paragraph(
    paragraph: &Paragraph,
    styles: &dyn StyleLookup,
) -> ParaKind
Expand description

Classifies paragraph through the shared outline/list precedence chain.

Unknown StyleLookup::para_list_type strings degrade to ListItemKind::Bullet, mirroring the historical Markdown renderer (only "NUMBER" selects the numbered family).