MD Studio (Markdown)
A WYSIWYG markdown editor for VS Code. Open any .md file and work in Edit, Read, or Source mode. Switch between them with the mode switcher at the top of the editor. Everything runs locally, with no network requests and no telemetry.
Screenshots



Modes
| Mode |
What it is |
| Edit |
Edit the document as it will look. Markdown syntax appears only while your cursor is on that element. |
| Read |
The same document, read-only, laid out for reading. Use it for reading or reviewing without accidental edits. |
| Source |
The raw markdown in a plain editor with line numbers. |
Edit and Read use the same typography as exported HTML and PDF. Read sets text in a reading column whose width you choose. Switching modes keeps the same paragraph at the top of the screen.
Features
Edit mode
- Headings, bold, italic, strikethrough, underline, highlight, superscript, subscript, inline code, and links are styled as you type
- Bulleted, numbered, and task lists render as real lists with checkable boxes. Tab and Shift+Tab indent and outdent, and numbered lists renumber themselves
- Blockquotes and horizontal rules are styled without showing their syntax
- Fenced code blocks show in a styled container with a language label and theme-matched syntax colours. Click to edit the code
- Math renders with KaTeX: block math (
$$…$$) always, and inline math ($…$) when your cursor leaves it
- Mermaid diagrams render automatically. Click a diagram to open it full screen, where you can zoom and drag it
- Tables render as editable grids where you can click any cell and type. Shift+Enter adds a line break inside a cell
Read mode
- Choose the reading width from the gear menu: Narrow (about 60 characters per line), Medium (75), Wide (90, the default), or Extra wide (120). Wider settings get slightly more line spacing
- On a wide editor, the document sits on a page-like sheet with a soft border and shadow, in your theme's colours. The sheet hugs the text
- Headings, text, lists, tables, code, and diagrams all line up on the same left and right edges
- Text grows a little on very wide monitors, so lines keep a similar length
- Table cells wrap so tables fit the text width. Only a table that can't fit even then scrolls sideways, inside the same edges. Diagrams shrink to fit, and code scrolls sideways within its block
- A thin progress bar at the top shows how far through the document you are
- Hover a block and click the pencil in the margin, or press
E, to jump to Edit with that block in the same place on screen. A whole list, or a whole quote, counts as one block, and hovering the pencil outlines what will open
- Click a diagram or an image to open it in the fullscreen viewer. Small images such as badges and icons don't open, and an image inside a link opens the link
Fullscreen viewer
- Buttons for zoom out, zoom in, reset, drag (hand), and close. At 100% the whole diagram or image fits on screen
- Zoom past the screen size and dragging turns on by itself. Zoom back out and the content re-centres
- Keyboard:
+ / - to zoom, 0 to reset, Esc to close
- Floating toolbar: select text and a toolbar appears beside it with these buttons:
- bold, italic, underline, strikethrough, highlight, inline code, link
- superscript, subscript, inline math
- clear formatting
- Format menu (paintbrush button):
- a paragraph and heading picker (P, H1–H6)
- bulleted, numbered and task lists, blockquote
- code block, math block, Mermaid diagram
- a table with a size picker, image, horizontal rule
Tables
Right-click any cell for these options:
- add or delete a row or column
- set column alignment
- sort a column A → Z or Z → A
Sorting reorders the rows in the markdown itself and keeps the header row in place, and one Undo restores the original order. Numbers such as 1,200, $5.50, and 50% sort by value. Empty cells always go last.
Outline
A collapsible heading outline floats beside the document in Edit and Read:
- It updates as you type.
- The current heading is highlighted as you scroll.
- Click a heading to jump to it.
- Fold any branch with its twisty. Folding affects only the outline, never the document.
Paste images
Paste an image from the clipboard and it is saved to the attachment folder, and a markdown image link is inserted at the cursor.
Export to PDF and HTML
Export from the export button at the top of the editor (in every mode) or from the command palette. PDF uses your installed Chrome, Edge, or Brave, with no browser bundled. Exports are fully offline and self-contained:
- Mermaid diagrams become SVG.
- Code is syntax-highlighted.
- Math and local images are embedded.
PDF options cover paper size, orientation (including a prompt on each export), a title header, and page-number footers.
Find and replace
Ctrl+F opens a find bar in every mode. Ctrl+H opens find-and-replace in Source mode.
Status bar
The line and column show in the VS Code status bar. The word count and an unsaved-changes indicator sit at the bottom of the editor.
Supported syntax
Standard CommonMark and GitHub Flavored Markdown, plus:
| Feature |
Syntax |
| Highlight |
==text== |
| Underline |
<u>text</u> |
| Superscript / subscript |
<sup>x</sup> / <sub>x</sub> |
| Line break |
<br> (also <br/>, <br />, </br>) |
| Inline math |
$E = mc^2$ |
| Block math |
$$ … $$ |
| Mermaid diagram |
```mermaid … ``` |
| Task lists |
- [x] done / - [ ] todo |
| Tables |
GFM pipe tables |
| Strikethrough |
~~text~~ |
Pressing Enter at the end of a line starts a new line in every mode and in exports. Leave a blank line to start a new paragraph.
Keyboard shortcuts
On macOS, use Cmd in place of Ctrl.
| Action |
Shortcut |
| Bold |
Ctrl+B |
| Italic |
Ctrl+I |
| Strikethrough |
Alt+Shift+5 |
| Inline code |
Ctrl+E |
| Link |
Ctrl+K |
| Heading 1–6 |
Ctrl+1 … Ctrl+6 |
| Paragraph |
Ctrl+0 |
| Line break in a table cell |
Shift+Enter |
| Find |
Ctrl+F |
| Find and replace |
Ctrl+H (Source mode) |
| Save |
Ctrl+S |
| Undo / Redo |
Ctrl+Z / Ctrl+Y |
| Jump to Edit at the block under the pointer |
E (Read mode) |
| Zoom in / out / reset, close (fullscreen viewer) |
+ / - / 0, Esc |
Requirements
VS Code 1.85 or later. PDF export also needs Chrome, Edge, or Brave installed. Nothing else is required.
Installation
- Open VS Code
- Press
Ctrl+Shift+X to open the Extensions panel
- Search for MD Studio
- Click Install
After installation, .md and .markdown files open in MD Studio. To use VS Code's built-in text editor instead, right-click the file and choose Open With → Text Editor.
Extension settings
The gear button at the top of the editor opens a quick menu:
- Open files in: Read, Edit, or Source
- Reading width: Narrow, Medium, Wide, or Extra wide. This applies straight away
- PDF orientation: Portrait, Landscape, Auto, or Ask each time
- All settings…: every MD Studio setting
A checkmark shows the current choice. A change is saved where that setting is already set, so a workspace override is updated in the workspace. You can also search mdstudio in VS Code Settings (Ctrl+,).
| Setting |
Default |
Description |
mdstudio.defaultMode |
Edit |
The mode a markdown file opens in: Edit, Read, or Source. |
mdstudio.readingWidth |
Wide |
How wide the text is in Read mode: Narrow (about 60 characters per line), Medium (75), Wide (90), or Extra wide (120). |
mdstudio.previewDebounceMs |
300 |
Milliseconds to wait after a keystroke before sending changes to VS Code. Lower feels more responsive; higher uses less CPU. |
mdstudio.attachmentFolder |
images |
Subfolder (relative to the markdown file) where pasted images are saved. Created automatically if missing. |
mdstudio.pastedImageMaxSizeMB |
5 |
Largest clipboard image accepted, in MB. Larger images are refused with a warning. |
mdstudio.exportPaperSize |
A4 |
PDF paper size: A4, Letter, Legal, A3, or A5. |
mdstudio.exportOrientation |
portrait |
PDF orientation: portrait, landscape, auto (landscape when a table is too wide for portrait), or ask (prompt on each export). |
mdstudio.exportHeader |
false |
Add a header with the document title to exported PDFs. |
mdstudio.exportFooter |
false |
Add a footer with the page number (Page X of Y) to exported PDFs. |
mdstudio.exportEmbedImages |
true |
Embed local images so exported HTML and PDF files are self-contained. |
mdstudio.browserPath |
(empty) |
Path to a Chrome, Edge, or Brave executable for PDF export. Leave empty to detect one automatically. |
Known issues
- A Mermaid diagram with a syntax error shows an error message instead of a partial diagram
- Pasting an image requires the markdown file to be inside an open workspace folder
- Inline HTML other than
<u>, <sup>, <sub>, and <br> is not rendered in Read mode or exports
- Pressing an arrow key inside a code block that sits directly below stacked tables can move the cursor past the tables. Click or scroll to reposition
Release notes
See CHANGELOG.md for the full history.
| |