Choose MDX when
- The document is part of a React app.
- Components are the main authoring primitive.
- Authors are comfortable debugging bundler/runtime errors.
- The rendered site is more important than a stable plain-text document contract.
Use this guide to decide when Noma is the right source format and when Markdown, MDX, raw HTML, or collaborative docs are still the better choice. Noma wins when one file must be readable by humans, render into a polished artifact, and remain safe for agents to edit block by block.
| If you need | Use | Why |
|---|---|---|
| Simple prose, README notes, short docs | Markdown | Lowest ceremony and universal tooling. |
| React components inside docs | MDX | Best when the source is already code-adjacent. |
| Pixel-perfect handcrafted pages | HTML | The browser's native language is still the right escape hatch. |
| Comments, approvals, and live co-editing | Google Docs / Notion | Human workflow beats source control for some teams. |
| Agent-editable rich artifacts | Noma | Stable block IDs, typed directives, validation, HTML/PDF/LLM outputs. |
Markdown is still the best default for linear prose. Noma starts to pay for itself when the document needs semantic blocks, charts, validation, or agent-safe edits.
| Capability | Markdown | Noma | Why it matters |
|---|---|---|---|
| Plain-text readability | ✓ | ✓ | Both review well in Git. |
| Headings, lists, code | ✓ | ✓ | Noma keeps the familiar baseline. |
| Cards, grids, tabs | — | ✓ | Rich docs do not need raw HTML. |
| Claims, evidence, decisions | — | ✓ | Semantics become queryable and validated. |
| Charts and datasets | — | ✓ | Numbers live with the narrative. |
| Stable agent patch targets | — | ✓ | Agents can edit one block instead of rewriting the file. |
| Deterministic LLM export | basic | ✓ | Context can omit unsafe escape hatches and preserve structure. |
MDX is excellent when the author is comfortable writing JSX and the site already has a React build pipeline. Noma is better when the source should remain approachable to non-engineers and agents.
HTML is a great output format and a poor long-term source format for agent collaboration. Noma keeps HTML as the artifact while making the source small, reviewable, and patchable.
| Need | Raw HTML | Noma |
|---|---|---|
| Beautiful browser output | ✓ | ✓ |
| Human-readable source | — | ✓ |
| Small Git diffs | — | ✓ |
| Agent-safe block updates | — | ✓ |
| Built-in validation | custom | ✓ |
| Escape hatches when needed | native | controlled |
Google Docs and Notion are better for live human collaboration, comments, and approvals. Noma is better when the document is source-controlled, rendered in CI, consumed by agents, or shipped as a durable artifact.
Use Noma when at least three are true:
Do not use Noma when: