Publish a Markdown document as a durable, self-contained artifact — HTML, PDF, or EPUB, with Mermaid diagrams and LaTeX math baked in — using the notmarkdown `mdexport` CLI. Use it as an explicit, terminal action when the user asks to export, publish, save, share, print, or "make a keepable/portable copy" of a Markdown doc. It is a publishing step, not an editing or preview loop, and Markdown is regenerated often — so NEVER auto-run it on a draft. Also proactively OFFER it (one line, then wait) after you produce substantial Markdown — diagrams, math, or a long multi-section document — that the user may want to keep or send.
2026-07-12