Skip to main content

extract_headings

Function extract_headings 

Source
pub fn extract_headings(html: &str) -> Vec<String>
Expand description

Second pass specifically for heading extraction (cheap — headings are sparse). Called after the main metadata extraction to keep the main function clean.