Skip to main content

emit_div_info_node

Function emit_div_info_node 

Source
pub fn emit_div_info_node(
    builder: &mut GreenNodeBuilder<'_>,
    raw_attr_text: &str,
)
Expand description

Emit a fenced-div DIV_INFO node, structuring the Pandoc {...} body the same way emit_attribute_node does. Bare-word shorthand (::: Warning) and malformed/empty bodies fall back to a single opaque TEXT token, preserving the prior DIV_INFO { TEXT(...) } shape (and the bare-word class semantics the projector reads via parse_div_info).