The purpose of this module is to parse a Document,
that is, a string, into an abstract syntax tree (AST)
which can then be further transformed or passed on
to a rendering function. The AST is a rose tree
of MBlock -- short for "Markdown Blocks."
An MBlock differs from the a Block in that the Content, which is a type alias for String, has been parsed into a BlockContent value by applying
MDInline.parse : Option -> String -> MDInlineThe type of a parsed Block
A string representation of an MDBlockTree. Useful for verifying the validity of the AST.
Parse a string using a Markdown flavor option, returning the AST. Example: