For simple applications, the function toHtml will be enough.
The other functions are mostly for building apps, e.g., editors,
in which the source text changes a lot. The best guide to
using the code are the examples. See the folder examples
and editors.
Use Html MarkdownMsg so that user clicks on elements in the rendered text can be detected.
Render source test given an a Markdown flavor
Render content with Markdown and output options, given a selected Id and a version
Render to Html from a parse tree
Render from an AST
Get parts of a document from a MarkdownOutput value.
document content
Table of contents
Count the number of display math element blocks in the parse tree
the type of output