From Markdown to PDF, Word and slides in your browser
Updated 15 November 2026. Describes what the mdprev editor does today; every step below can be tried on the built-in sample document.
One Markdown file can be a README, a one-page brief, a handout and a talk. mdprev renders the file next to your text and exports it in the format the reader needs. The document is rendered and exported on your device: nothing is uploaded, and there is no account.
1. Write, and see the result as you type
Open the editor. Edit shows only the source, Read only the rendered page, Split both with the preview scrolling along. Zen is a quiet single column. It opens on the face you were using (writing from Edit, reading from Read or Split), and Alt+V switches between them.
Type / on an empty line for blocks such as a table, a code block, a callout, a footnote or a table of contents. Tables, task lists, footnotes, math with KaTeX and Mermaid diagrams render in the preview. A diagram that cannot be drawn shows a short note in place instead of an empty box.
2. Choose a document style
The gear button (View options) switches the rendered look between Default, a Paper style with a serif body and a Compact style for dense notes. PDF and HTML exports use the style you picked, so a PDF made from Paper looks like Paper. The Word file uses Word’s own styles instead.
3. Export
The Export button offers these formats.
| Format | Good for | What to know |
|---|---|---|
| PDF (print) | Sending a finished document | Uses your browser’s print dialog, so the paper size and margins are yours to set. Choose “Save as PDF”. |
| PDF with contents | Longer reports | Adds a table of contents built from your headings. |
| Word (.docx) | Colleagues who edit in Word | Keeps headings, lists and footnotes. Mermaid diagrams are drawn as pictures. |
| HTML (.html) | One file you can email or host | Styles and pasted images are inside the file, so it opens without extra files. |
| Slides PDF | Handing out a talk | One slide per page. See the next section. |
| Copy rich text | Pasting into an email or a doc editor | Pastes formatted text, with the Markdown as the fallback for plain editors. |
4. Turn the same file into slides
Press S (or Present) to present the document. How it is cut into slides depends on the file:
- If you separate slides with a line of three dashes (
---), each part becomes one slide. - Without those lines, every top-level heading (
#or##) starts a new slide, so an ordinary document is already a deck.
In a deck cut by ---, a paragraph that starts with Note: and everything after it in that slide becomes speaker notes and does not appear on screen. A slide that is too long is shrunk to a readable minimum and then scrolls, rather than being cut off.
5. Keep your work safe
The document is saved in this browser as you type. Save as… writes a real file where the browser allows it, and Restore previous and Recent bring back what you replaced. Because everything stays on the device, clearing site data removes it: export or save a file for anything you need to keep. The privacy page lists exactly what is stored.
Also in the box
The same site can inspect an agent skill from a GitHub link and open it in the editor as a copy you can change; see what is inside a SKILL.md.