Function parse_blocks

Source
pub fn parse_blocks(markdown_lines: &[Vec<Token>]) -> Vec<MdBlockElement>
Expand description

Parses a vector of tokenized markdown lines into a vector of block-level Markdown elements.

§Arguments

  • markdown_lines - A vector of vectors, where each inner vector contains tokens representing a line of markdown.

§Returns

A vector of parsed block-level Markdown elements.