Skip to main content

stringify_hast

Function stringify_hast 

Source
pub fn stringify_hast(
    node: &Node<'_>,
    options: &Stringify,
) -> Result<String, Error>
Expand description

Serialize hast as HTML, as hast-util-to-html does.

Walks with an explicit stack instead of recursing, so a deeply nested tree cannot overflow the call stack.