A CommonMark-compliant parser for Julia.
- Spec compliant – passes the CommonMark spec test suite
- Multiple outputs – HTML, LaTeX, Typst, terminal (ANSI), Jupyter notebooks, Pandoc JSON
- Markdown roundtrip – parse and re-emit normalized markdown
- Modular parser – enable/disable individual syntax rules
- Extensions – tables, footnotes, math, front matter, admonitions, attributes, citations, and more
using CommonMark
parser = Parser()
enable!(parser, TableRule())
enable!(parser, MathRule())
ast = parser("# Hello *world*")
html(ast) # HTML string
latex(ast) # LaTeX string
term(stdout, ast) # ANSI terminal output