Minimal, native macOS markdown viewer.
Open `.md` files from Finder, preview with GitHub-styled rendering, toggle raw source, auto-reload on file changes.
- macOS file association — double-click
.mdin Finder opens in Markfly; right-click > Open With works - Rendered preview — GitHub-themed markdown (light & dark), syntax-highlighted code blocks
- Raw source toggle — switch between rendered HTML and plain markdown
- Auto-reload — watcher re-reads file on disk changes
- Dark / light theme — follows system preference, toggle via toolbar
- Zoom controls — pinch via Cmd±/Cmd+0, or toolbar buttons
- Drag & drop — drop
.mdfiles onto the window - Recent files — macOS Open Recent menu and system recents
- Download
Markfly-<version>-arm64.pkgfrom Releases - Double-click the
.pkgfile - Follow the standard macOS installer (requires admin password)
- Launch Markfly from
/Applications
- Download
Markfly-<version>-arm64.dmgfrom Releases - Double-click the
.dmgfile - Drag
Markfly.appinto/Applications - Launch Markfly from
/Applications
# install
npm install
# dev (Vite hot-reload + Electron)
npm run electron:dev
# build production
npm run electron:buildOutput in release/ — .dmg, .pkg, and .zip.
| Layer | Tech |
|---|---|
| Desktop shell | Electron |
| UI | Vue 3 + TypeScript |
| Build | Vite |
| CSS | Tailwind CSS v4 |
| Markdown renderer | marked v18 |
| Syntax highlight | highlight.js |
| Theme stylesheet | github-markdown-css |
| Packaging | electron-builder |
| File watcher | chokidar |
