A calm, Typora-style Markdown editor for Windows.
What you type is what you see, and your files stay exactly as you wrote them.
Download · Features · Install · Shortcuts · Development
| Markdown renders as you type. Headings, lists, tables and math look finished, and the syntax shows only around your caret. | An untouched file is never rewritten. Line endings, BOM and front matter survive, and every save is atomic. | No toolbar and no clutter. One column of text, a sidebar when you want it, and focus and typewriter modes for long sessions. |
Writing
- Live WYSIWYG editing built on Milkdown and ProseMirror, with the Markdown syntax revealed around the caret
- GitHub Flavored Markdown: tables, task lists, strikethrough, autolinks and footnotes
- Code blocks with syntax highlighting for dozens of languages
==Highlights==,$inline$and$$block$$math (KaTeX) and Mermaid diagrams- Paste or drop images. They're saved to a
<name>.assetsfolder beside the document, Typora-style - Source code mode (Ctrl /) when you want the raw Markdown
Workspace
- Open a folder to get a live file tree: create, rename, and delete to the Recycle Bin
- Quick Open (Ctrl P), search across the folder and a document outline
- Find and replace inside the document
- Light and dark themes, or follow Windows. Your own CSS can restyle everything
- Fonts, text size, line width and every shortcut are adjustable in Preferences
Safety
- Autosave, plus crash recovery for unsaved drafts
- Changes made by other programs are picked up, with a prompt if you have unsaved edits
- Export to HTML or PDF
- Opens
.mdfiles from Explorer and remembers recent files and folders
Download mdpad-1.1.1-setup.exe from the latest release and run it. It adds a Start menu entry and a desktop shortcut, and offers mdpad as an editor for .md files.
The installer isn't code-signed yet, so Windows SmartScreen may warn on first run. Click More info, then Run anyway.
Build the installer from source
git clone https://github.com/Lecberg/mdpad.git
cd mdpad
npm install
npm run build:winThe installer is written to dist/.
Show all shortcuts
| Action | Shortcut |
|---|---|
| Quick Open | Ctrl P |
| Save / Save As | Ctrl S / Ctrl Shift S |
| Find / Replace | Ctrl F / Ctrl H |
| Heading 1–6 / Paragraph | Ctrl 1–6 / Ctrl 0 |
| Bold / Italic / Link | Ctrl B / Ctrl I / Ctrl K |
| Inline code | Ctrl Shift ` |
| Highlight | Ctrl Shift H |
| Strikethrough | Alt Shift 5 |
| Quote | Ctrl Shift Q |
| Ordered / Unordered list | Ctrl Shift [ / Ctrl Shift ] |
| Code block / Math block / Table | Ctrl Shift K / Ctrl Shift M / Ctrl T |
| Source code mode | Ctrl / |
| Focus mode / Typewriter mode | F8 / F9 |
| Toggle sidebar | Ctrl Shift L |
| Outline / Files / Search in folder | Ctrl Shift 1 / Ctrl Shift 3 / Ctrl Shift F |
| Preferences | Ctrl , |
Any of these can be rebound in Preferences.
Requires Node.js 22 or later.
| Command | What it does |
|---|---|
npm run dev |
Start the app with hot reload |
npm test |
Unit tests (Vitest) |
npm run test:e2e |
Build, then drive the real app with Playwright |
npm run typecheck |
Type-check main, renderer and tests |
npm run lint |
ESLint |
npm run icons |
Regenerate the app icons from build/icon.svg |
npm run build:win |
Build the Windows installer into dist/ |
Project layout
src/main Electron main process: windows, menus, file IO, export
src/preload Sandboxed bridge exposing window.api
src/shared Types and command ids shared across processes
src/renderer/src React UI and the editor
tests/ Vitest suites, Playwright e2e tests and sample notes
docs/PLAN.md Roadmap and design notes
Electron · Milkdown · ProseMirror · CodeMirror · KaTeX · Mermaid · React
Inspired by Typora.