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.