MD File Viewer
A focused Markdown editor with live preview — like Sublime Text, but built for .md files only.
What MD File Viewer does
Type Markdown on the left, watch it render live on the right. MD File Viewer gives you GitHub-flavored rendering with syntax-highlighted code, KaTeX math, Mermaid diagrams, task lists, footnotes and tables — plus tabs, a command palette, a folder sidebar, and a formatting toolbar.
The renderer never touches the filesystem directly: all reads, writes and dialogs happen in a secure main process with context isolation on. You get auto-save with crash recovery, per-save version history with diff and restore, export to self-contained HTML or PDF, and .md file association so double-clicking a file in Explorer opens it here.
The editor
A faithful preview of the split editor and live preview:
Build a **fast** parser.
- [x] tokenizer
- [ ] emitter
```js
const x = run();
```
Project notes
Build a fast parser.
☑ tokenizer
☐ emitter
const x = run();
Features
Rich live preview
Syntax highlighting, KaTeX math, Mermaid diagrams, task lists, footnotes & tables.
Command palette
Ctrl+Shift+P runs any command; Ctrl+P fuzzy-jumps to any file.
Tabs & folder tree
Open many files, each with its own undo, cursor and scroll; browse a recursive sidebar.
Formatting toolbar
One-click bold, italic, headings, links, lists — plus Find & Replace and Format Table.
Images
Paste or drag-and-drop; saved to an assets/ folder and linked automatically.
Export & print
Self-contained HTML, PDF or print — with math and diagrams included.
Version history
Every save is snapshotted locally; view a diff and restore any past version.
Auto-save & recovery
Optional auto-save, and unsaved buffers recovered after an unexpected exit.