MdGenr logo MdGenr — Markdown Studio
N°01

Markdown editor / live proof

01 Edit
02 Preview
Autosave 5s · IndexedDB 0 lines

01 A desk built for long documents

Everything runs in your browser: rendering, syntax highlighting, diagrams, and storage. No accounts, no cloud, no upload.

01

Live proof, debounced

Typing re-renders the preview after a short debounce, so fast typing stays smooth while the preview is never more than a quarter-second behind.

02

Outline that navigates

Headings become a clickable table of contents with anchors. In long technical documents, the outline is the map — click to jump, and the active section is highlighted.

03

Scroll that follows

Scroll the editor and the preview tracks the heading you are writing; scroll the preview and the editor follows back. Long documents stop being a guessing game.

04

Code, highlighted

Fenced blocks get automatic syntax highlighting for JavaScript, Python, CSS, HTML, JSON, and dozens more languages via highlight.js.

05

Mermaid diagrams

Write a mermaid fenced block and flowcharts, sequence diagrams, and gantt charts render right in the preview — no image exports needed.

06

Autosave, locally

Every 5 seconds the document is written to IndexedDB, which handles large documents well beyond the 5MB localStorage ceiling. Reopen the page and MdGenr offers to restore the draft.

02 Markdown cheat sheet

The syntax this editor understands, at a glance.

SyntaxYou writeResult
Heading## TitleSection heading, added to the table of contents with an anchor
Bold / Italic**b** / *i*Bold and italic text
Strikethrough~~text~~Struck text (GFM)
Inline code`code`Monospaced inline code with a subtle frame
Code block```js … ```Syntax-highlighted preformatted block
Task list- [x] doneCheckbox list item (GFM)
Table| a | b |Formatted table with header row (GFM)
Blockquote> quoteIndented quote with a red rule
Emoji:rocket:Renders as an emoji character
Mermaid```mermaid …```Flowchart / sequence diagram rendered inline
Link[text](url)Hyperlink
Image![alt](url)Embedded image

03 Three ways out

When the document is done, take it wherever it needs to go.

HTML

Publish-ready file

A standalone .html document with clean inline styles baked in: headings, code blocks, tables, and quotes all styled. Drop it on any static host and it looks right.

PDF

Print pipeline

Export PDF opens the browser print dialog on a print-optimized version of the document, with page margins and pagination handled by print CSS.

.MD

Raw source

Download the exact Markdown source as a .md file, named after the document's first heading, ready for Git, a README, or another editor.

04 FAQ

Is my Markdown content uploaded to a server?
No. MdGenr renders everything in your browser and saves to IndexedDB, a local database inside your browser. Nothing you write is transmitted anywhere, and clearing your browser data removes the local copy.
How does autosave work?
Every 5 seconds the current document is written to the browser's IndexedDB, which supports documents far larger than the 5MB localStorage limit. When you reopen the page after a refresh or crash, a bar appears asking whether to restore the last autosaved version.
Which Markdown extensions are supported?
Full GitHub Flavored Markdown: tables, task lists with checkboxes, strikethrough, fenced code blocks with syntax highlighting, plus emoji shortcodes like :rocket: and mermaid diagram blocks that render as flowcharts and sequence diagrams.
How do the editor and preview scroll together?
The editor tracks which line is at the top of the viewport, finds the nearest heading above that line, and scrolls the preview to that heading's anchor. Scrolling the preview moves the editor back to the matching heading line.
What export formats are available?
Three: a standalone HTML file with clean inline styles ready to publish, a PDF generated through the browser's print dialog with print-optimized pagination, and the raw .md file itself.
Does the table of contents work in exported HTML?
Headings in the exported HTML keep their anchor ids, so links like #getting-started jump to the right section in the exported file.