pub fn flatten(body: &Body) -> Vec<DocElement>Expand description
Walks body.content depth-first, emitting every structural element in
document-index order, containers before their contents.
pub fn flatten(body: &Body) -> Vec<DocElement>Walks body.content depth-first, emitting every structural element in
document-index order, containers before their contents.