pub fn load(content: &str) -> DocumentResult<Value>Expand description
Parse content as CommonMark into the section tree described above.
CommonMark has no invalid-input production — every UTF-8 string is some
sequence of blocks — so this fails only where afdata declines to answer: a
bare carriage return, or block nesting deeper than [MAX_BLOCK_DEPTH]. An
empty string yields an empty preamble and no sections.