Skip to main content

flatten

Function flatten 

Source
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.