pub fn to_nodes(text: &str, image_base: &ImageBase) -> Vec<Node>Expand description
Parse text as GFM markdown into a node tree.
Enables the GFM extensions an operator or an agent’s prose actually uses —
tables, task lists, strikethrough, autolinked bare URLs — and nothing
that changes how plain prose reads (no smart quotes, no superscript).
image_base controls whether a relative image path in text can resolve
to anything; see ImageBase.