If you know Markdown, you already know the basics. BachMark builds on CommonMark with carefully chosen extensions.
🧩
Built-in Extensions
Callouts, code groups, tabs, figures with captions, footnotes, citations, math, badges, keyboard keys, emoji shortcodes, colored text, and more — part of the language, not plugins.
📄
HTML & PDF Output
Both are first-class targets. PDF is generated directly from the AST — not by printing a webpage. Cross-references and figure numbering work across both.
🔍
Designed to Be Unambiguous
Precise parsing rules, a well-defined JSON AST, and conformance examples. Every feature is spec'd so renderers behave consistently.