MarkPen - Markdown 2-in-1 Editor & Preview

Markdown editor with live preview. No separate tab. Clean, distraction free and natively integrated.
Editing with Hotkeys

Editing with Right Click


The problem with markdown editors in VS Code
Every markdown editor for VS Code makes the same compromise: raw text on the left, rendered preview on the right. You are always looking at two things to write one thing.
The alternative — leaving VS Code for a dedicated editor — means losing your theme, your keybindings, your git sidebar, your extensions, your muscle memory. You leave your entire workspace just to write a document.
MarkPen removes that trade-off.
It renders your markdown as you type — headings look like headings, bold looks bold, tables look like tables — directly inside the editor pane, with no second panel. When you need to edit a word, click it. The raw syntax appears exactly where your cursor lands and disappears when you move on. Everything else stays formatted.
Your VS Code stays whole.
Additional Features
- Instant rendering — no preview pane
- Tables editing with right click menu, hotkeys and toolbar buttons
- Paste images directly from clipboard
- Code blocks with syntax highlighting
- Math, diagrams, and more
- Respects your VS Code theme
- Toggle to raw markdown anytime Press
Ctrl+Shift+T to switch between MarkPen and VS Code's default text editor.
Configurable Keyboard shortcuts
All shortcuts are scoped to MarkPen only — they do not interfere with anything else in VS Code.
| Action |
Shortcut |
| Bold |
Ctrl+B |
| Italic |
Ctrl+I |
| Strikethrough |
Ctrl+D |
| Inline code |
Ctrl+G |
| Link |
Ctrl+K |
| Block quote |
Ctrl+; |
| Horizontal rule |
Ctrl+Shift+H |
Headings
| Action |
Shortcut |
| Remove heading |
Ctrl+H |
| Heading 1 |
Ctrl+Alt+1 |
| Heading 2 |
Ctrl+Alt+2 |
| Heading 3 |
Ctrl+Alt+3 |
| Heading 4–6 |
Ctrl+Alt+4/5/6 |
| Increase level |
Ctrl+= |
| Decrease level |
Ctrl+- |
| Cycle heading styles |
Ctrl+Alt+C |
Lists
| Action |
Shortcut |
| Unordered list |
Ctrl+L |
| Ordered list |
Ctrl+O |
| Task list |
Ctrl+J |
| Toggle checkbox |
Ctrl+Shift+J |
| Indent |
Ctrl+Shift+I |
| Unindent |
Ctrl+Shift+O |
Tables
| Action |
Shortcut |
| Insert table |
Ctrl+M |
| Next cell |
Tab |
| Previous cell |
Shift+Tab |
| Add row below |
Ctrl+= |
| Add row above |
Ctrl+Shift+Alt+F |
| Delete row |
Ctrl+- |
| Add column right |
Ctrl+Shift+= |
| Add column left |
Ctrl+Shift+G |
| Delete column |
Ctrl+Shift+- |
| Align left |
Ctrl+Shift+L |
| Align center |
Ctrl+Shift+C |
| Align right |
Ctrl+Shift+R |
Insert
| Action |
Shortcut |
| Fenced code block |
Ctrl+U |
| New paragraph before |
Ctrl+Shift+B |
| New paragraph after |
Ctrl+Shift+E |
System
| Action |
Shortcut |
| Undo |
Ctrl+Z |
| Redo |
Ctrl+Y |
| Paste image from clipboard |
Ctrl+Shift+V |
| Toggle editor |
Ctrl+Shift+T |
| Find in file |
Ctrl+F (VS Code native) |
Configuration
| Setting |
Default |
Description |
markpen.toggleStatusbar |
false |
Show formatting toolbar in the status bar |
markpen.pasterImgPath |
image/${fileName}/${now}.png |
Path template for pasted images |
Font and size follow your markdown.preview.fontSize and markdown.preview.fontFamily settings — the same values VS Code's built-in preview uses.
Zoom follows window.zoomLevel. If editor.mouseWheelZoom is enabled, Ctrl+Scroll zooms the editor temporarily within the session.
Getting started
- Install MarkPen from the marketplace
- Open any
.md or .markdown file — MarkPen opens it automatically
- Start writing. Markdown renders as you type.
- Press
Ctrl+Shift+T at any time to switch to raw text editing and back
To unset MarkPen as your default markdown editor permanently, replace markpen from this settings in your settings.json with default:
"workbench.editorAssociations": {
"**/*.md": "markpen"
}
Contributing
Pull requests are welcome. For significant changes please open an issue first to discuss what you'd like to change. Have a feature request? Open an issue.
License
MIT · Made by Butterops