pub fn collect_text(node: Node<'_>) -> StringExpand description
Recurses through a node and all of its children in depth-first (document) order, returning the concatenated literal contents of text, code and math blocks. Line breaks and soft breaks are represented as a single whitespace character.