Skip to main content

parse_markdown

Function parse_markdown 

Source
pub fn parse_markdown(markdown: &str) -> Vec<ParsedElement>
Expand description

Read markdown into blocks and tables.

The parser reads nested containers without recursing, whatever their depth. The quotations the text holds are kept within MAX_QUOTE_LEVELS (see quote_depth): the writers walk one call deeper for each, and a text nested 500 quotations deep loaded, then aborted the process at its first save.