Skip to main content

collect_text

Function collect_text 

Source
pub fn collect_text(nodes: &[Node]) -> String
Expand description

Extract plain text from a list of nodes (for generating slugs, alt text, etc).