Basic Usage

Warning: Calling Markdown.toHtml parses the whole block, so try not to
call it for no reason. In the content example above we only have to parse
the text once, but if we put it in a function we may be doing a lot of
unnecessary parsing.

Code Blocks

For highlighting any code blocks, the package relies on the
highlight.js project. So if you want to
see highlighting of code blocks in the rendering result, you need to
make sure that your page/app binds a version of that library
(supporting the languages you want to handle) to window.hljs in
Javascript. This is how package.elm-lang.org does
that.