NotionDown - A Visual Markdown Editor for VS Code
Writing Markdown in VS Code usually means two panes: raw source on one side and a rendered preview on the other. You type on the left, check the result on the right, and look up the syntax whenever you need a table or a diagram.
I built NotionDown, a free and open-source VS Code extension that lets you write Markdown on one page that looks like the final document. Type / to add headings, tables, code, math, or diagrams. Your work is saved as an ordinary .md file. This post shows what NotionDown fixes, what it can do, and where to get it.
Navigate this post
What NotionDown fixes
Here is the usual way to write Markdown in VS Code, with the source on the left and the preview on the right:

And here is a note in NotionDown, where you read and type on the same page:

| Problem | What NotionDown does |
|---|---|
| Markdown on one side, preview on the other | You type on one page that already looks like the final document. |
| Tables, math, and diagrams need syntax you have to remember | You type / and pick what you need. Tables are edited with the mouse. |
| Notion-like apps keep your notes in their own format | Your notes are ordinary .md files that Git, docs sites, and other Markdown tools can read. |
You write the way you would in Notion, in plain .md files in your own folders.
What you can do with it
Open any .md file and you see it laid out the way a reader would see it. Click into a task list, a table, or a diagram and edit it right there.
-
Slash menu and drag handles
Type/to add headings, lists, quotes, tables, code, math, or diagrams. Drag the handle beside any paragraph, list, or table to move it. -
Tables, math, and code
Add and align table rows and columns with the mouse. Math formulas display as formulas, and code is colored by language. -
Live Mermaid diagrams
Write a diagram as Mermaid text, and the drawing appears right below it as you type. -
Matches your theme
The page follows your VS Code color theme, light or dark, and fills whatever editor, tab, or split you give it.
Type / and the slash menu lists everything you can add, from task lists to tables. Selecting text brings up a formatting toolbar.

Math, code, and tables sit right next to your text and display as you type.

It works with the rest of your setup
NotionDown works on your file like any other VS Code editor. Save, undo, and Git behave as usual, and your formatter still runs when you save. If the file changes somewhere else, for example in another editor or after switching Git branches, NotionDown shows the change and keeps your cursor where it was.
The raw Markdown is always one click away. Select the </> button at the top of a NotionDown tab, and the same tab switches to VS Code's text editor. The rocket button in the text editor switches back.
For privacy and security, NotionDown has:
- No tracking: NotionDown collects no data.
- No remote code: every script ships inside the extension.
- Restricted Mode: it works in folders that VS Code has not marked as trusted.
Get started
NotionDown is available for VS Code on the Visual Studio Marketplace, and for editors such as VSCodium and Cursor on Open VSX. The source code and documentation are on GitHub.
- NotionDown on the Visual Studio Marketplace
- NotionDown on Open VSX
- NotionDown source code and documentation on GitHub
NotionDown is an independent open-source project under the MIT License. It is not made, endorsed, or sponsored by Notion Labs, Inc.
Conclusion
NotionDown brings Notion-style writing to the Markdown files you already keep in VS Code and Git. Install it from the Marketplace or Open VSX, and find the source and documentation on GitHub.
References and further reading
Open the complete reference catalog
Primary Sources
- NotionDown repository on GitHub
- NotionDown on the Visual Studio Marketplace
- NotionDown on Open VSX
- Milkdown, the editor framework behind NotionDown
- VS Code Custom Editor API guide
Related Site Guides
- Lightweight Markdown Preview for VS Code - A fast Markdown preview for when you prefer writing in source