pub fn render_html(tree: &Tree, options: Option<&Options>) -> StringExpand description
Render tree (one that has been through both parse phases) as HTML.
Two options reach the renderer. breaks turns soft line breaks into
hard ones. gfm selects one thing only, the disallowed-raw-HTML
filter, which the extension defines at render time rather than at
parse time. Everything else GFM adds is settled by then: by the time a
del node or an item’s checked state exists, the renderer just prints
it.
gfm defaults to whatever the document was parsed with rather than to
the package default, so render_html with None on a gfm: false
parse renders plain CommonMark. Explicit options still win.