[go: up one dir, main page]

collect_text_append

Function collect_text_append 

Source
pub fn collect_text_append<'a>(node: &'a AstNode<'a>, output: &mut String)
Expand description

Recurses through a node and all of its children in depth-first (document) order, appending the literal contents of text, code and math blocks to an output buffer. Line breaks and soft breaks are represented as a single whitespace character.