Skip to main content

number_sections

Function number_sections 

Source
fn number_sections(document: &mut Document)
Expand description

Walk the document depth-first and assign hierarchical numbers to every section based on its level attribute. Sections without a readable level default to depth 1.