Markdown is for drafts.
Markup is forever.
notmarkdown turns Markdown — Mermaid diagrams and LaTeX math and all — into self-contained HTML, PDF, and EPUB that render the same everywhere, with no server, no JavaScript, and no link left to rot.
$
git clone https://github.com/nfeldman/notmarkdown && cd notmarkdown && ./setup.sh
hydra.md
## The Kirby–Paris hydra ```mermaid graph TD R((root)) --> A((h₁)) R --> B((h₂)) ``` Its ordinal is $\omega^\omega$, yet every hydra dies.
mdexport
The Kirby–Paris hydra
Its ordinal is ωω, yet every hydra dies.
Diagrams and equations become part of the document.
Self-contained
One file. No server, no JavaScript, no CDN. Open it in ten years and it looks identical.
Diagrams & math, baked in
Mermaid renders to SVG, LaTeX to MathML — right in the output. A broken diagram never corrupts the doc.
HTML, PDF, PDF/A, EPUB
One source, every durable format. Drag a folder onto the macOS app, or wire it into any pipeline.
Built on pandoc, typst, and mermaidx.