Markdown editor
A markdown editor, with the preview beside the source.
The source stays on the left and the rendered note on the right. Formatting is on the bar above the source.
How to use it
- 1
Type, or open a file to replace the draft.
- 2
Use the toolbar or the shortcuts for bold, italic, and links.
- 3
Copy the HTML or download the .md when you are done.
Starting a README
# Project ## Install - Clone the repo - Run `npm install`
The left side keeps those characters, including the # and the dashes. The right side shows “Project” as a title, “Install” as a section, and a bulleted list with install in code style. Change a word on the left and the right updates immediately. Download writes a .md file. Nothing is synced to Git from here.
Cleaning up a reply
Here is the plan: **Ship the reader** and leave the outline there. See [the PDF page](/md-to-pdf).
The right side shows the first line as a paragraph, “Ship the reader” in bold, and a link. The toolbar can wrap a selection in bold, italic, or a link if you would rather not type the markers. Copy HTML takes the rendered fragment. Copy Markdown takes the source.
Fixing a table
| Page | Job | | --- | --- | | Viewer | Open a file | | Editor | Write |
The right side shows a two-column table. The table tools on that table can copy it as Markdown or CSV. Edit on the table lets you change a cell, then Done writes the pipes back into the source on the left. Add row appends an empty row. You are still editing the markdown, not a separate spreadsheet.
What is different
| This page | A typical online tool |
|---|---|
| Source on the left, preview on the right | A single box, or a preview you have to refresh |
| The draft stays in this browser | The draft is stored on a server |
| No account | A sign-up before the editor opens |
| Bold, italic, and links on the bar | You are expected to remember every marker |
| Download the .md when you want a file | The only copy lives in someone else’s account |
| Same draft on the PDF page | Export means uploading the text |
A draft, not an account
Closing the tab does not delete the text stored in local storage. Another browser on the same computer has its own empty draft until you open the file again.
A markdown editor in the browser
This page is a markdown editor. The source is on the left, with line numbers. The rendered note is on the right, and it updates as you type. You can open a .md file, paste, or start from the example. The draft is written to local storage in this browser so a reload does not clear it. Download is what creates a file. Until then there is no file on a server.
An online markdown editor often means an account, and a document that lives with the site. StackEdit, Dillinger, and HackMD are built around that: sync, publish, sometimes several people in one note. This page does not do those things. It does not run a language server, and it does not sign you in. If you need a shared cursor, use one of those. If you need to see the markdown and the page at the same time, and then take the file with you, stay here.
What the bar actually does
Bold, italic, strike, and inline code wrap the selection. If the selection is already wrapped, the same button removes the markers. A heading button sets the line to that level, or turns it back into a paragraph if you press it again. A list button prefixes the selected lines, and does not stack a second marker on a line that already has one. Link asks for the address. The table button inserts a small table. Undo and redo are the history of this box.
⌘/Ctrl+B is bold, ⌘/Ctrl+I is italic, and ⌘/Ctrl+K is a link. ⌘/Ctrl+S writes the draft to local storage. It does not download a file. The line numbers are a gutter. They are not part of the file.
Paste an image and it is embedded in the source. The picture does not get uploaded. Find, from the More menu or ⌘/Ctrl+F, jumps to the next match in the source while you are editing, and the preview follows if Sync is on.
Where this page stops
The markdown viewer is the page for opening a finished file and reading it. The markdown reader is the page for a long document: an outline, the place you stopped, and a print of the reading column. This editor is the page for changing the text. When the text is done and you need A4 or Letter, open markdown to PDF. The draft is the same one.
GitHub flavored markdown is what the preview renders: tables, task lists, strikethrough, and fenced code. A mermaid fence becomes a diagram on the right. Math between dollar signs is set when math is on. Neither makes this a diagram tool. A single diagram belongs on the Mermaid editor, which exports SVG and PNG of that picture.
If something looks wrong
- ⌘/Ctrl+S writes the draft to local storage. It does not save a file unless you press Download.
- The line number gutter follows the source. It is not saved into the file.
- ⌘/Ctrl+B wraps the selection in bold. ⌘/Ctrl+I is italic, and ⌘/Ctrl+K is a link.
Other tools, same draft
Questions
Can I edit Markdown online without signing up?
Yes. Open this page and type, or open a file. There is no account.
Does the preview update as I type?
Yes. The right side renders the source on the left, including tables, code, diagrams, and math.
Where is the file saved?
Download writes a .md file through your browser. Until then the draft is in local storage on this computer. ⌘/Ctrl+S updates that draft. It does not download.
Is this a full IDE?
No. It is a writing surface with a preview, counts, and shortcuts. It does not run a language server or sync to Git.
Which Markdown does the editor render?
GitHub Flavored Markdown: tables, task lists, strikethrough, autolinks, and fenced code, plus Mermaid and KaTeX when those are on.
Can I export HTML?
Copy HTML takes the rendered fragment. Download HTML saves a file you can open offline. Neither is uploaded.
Do I need an account?
No. A shared document, or a sync to Drive or GitHub, is a different product.