Package markdown is a Commonmark-compliant Markdown parser and HTML generator. It does not have many bells and whistles, but it does expose the parsed syntax in an easy-to-use form.
Work in progress.