Function parse_blockquote

Source
fn parse_blockquote(line: &[Token]) -> MdBlockElement
Expand description

Parses a blockquote from a vector of tokens into an MdBlockElement::BlockQuote.

§Arguments

  • line - A vector of tokens representing a blockquote.

§Returns

An MdBlockElement::BlockQuote containing the parsed content, or a MdBlockElement::Paragraph if the content is empty.