markdown preview for local files using Electron, marked, highlight.js, mermaid, node-emoji, and automatic file watching.
https://ericlink.github.io/mdp/
syntax highlighting https://highlightjs.org/
https://github.com/omnidan/node-emoji
github flavored markdown
https://github.com/markedjs/marked
Open as HTML ⌘K
Edit Markdown ⌘E
Zoom - zoom in ⌘+, zoom out ⌘-, actual size ⌘0
full screen support
dark mode window
isolated renderer with a preload bridge
markdown links between local .md files stay inside the preview
external links open in your default browser
put mdp.app/Contents/Resources/app/package/mdp script in your path
build unsigned Apple Silicon artifacts with:
npm run make:mac-internal
Electron Forge writes the unsigned .dmg and .zip to out/make/.
Install by opening the .dmg and dragging mdp.app into /Applications.
To make mdp the default app for Markdown files, pick any .md file in Finder, choose Get Info, set Open with to mdp, then click Change All....
unexpected main-process failures are written to /tmp/mdp-main.log
npm install
npm run dev
npm run dev-readme


