markdown
Types
Block
Paragraph(Array<Inline>)
Heading(Int, Array<Inline>)
CodeBlock(Option<Str>, Str)
BlockQuote(Array<Block>)
UnorderedList(Array<ListItem>)
OrderedList(Int, Array<ListItem>)
ThematicBreak
Inline
Text(Str)
Code(Str)
Emphasis(Array<Inline>)
Strong(Array<Inline>)
Link(Str, Option<Str>, Array<Inline>)
Image(Str, Str)
LineBreak
ListItem
ListItem(Array<Block>)
Functions
parse
fn(input: Str) -> Array<Block>
Parse a markdown string into an array of blocks.