Function parse_unordered_list

Source
fn parse_unordered_list(list: &[Token]) -> MdBlockElement
Expand description

Parses a vector of tokens representing an unordered list into an MdBlockElement::UnorderedList.

Calls the more generic parse_list function, which parses nested list items

§Arguments

  • list - A vector of tokens representing an unordered list.

§Returns

An MdBlockElement representing the unordered list.