pm
markdown-export
Downloads the document as a .md file, serialized from the same typed data the page renders — the export is the document, not a scrape of it.
The download is generated in-page from the document data — no network, no server.
Click Download Markdown — the browser writes a .md containing every section shown, generated entirely in-page.
Installation
Usage
Use when
- A rendered report needs a portable markdown twin for wikis, diffs, and review trails
- The document is authored as SpecDoc data (lib/pm.ts) so view and export share one source
Not for
- Documents authored as free JSX with no typed data behind them — there is nothing to serialize
- Server-side export pipelines — this is an in-page client download