Skip to content

A minimal macOS Markdown editor and viewer under 500 KB. Live split-view preview, scroll sync, GitHub-style rendering, Dark Mode.

License

Notifications You must be signed in to change notification settings

trsdn/mdviewerplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDViewer+

A minimal macOS Markdown editor and viewer. Clean rendering, inline editing, and live preview — no bloat.

macOS Swift License Size Memory

MDViewer+ split view

Features

  • Three view modes — view-only, split (editor + preview), and edit-only, cycled with Cmd+E
  • Live preview — edits render instantly in the side-by-side split view
  • Syntax highlighting — headings, bold, italic, links, code blocks, blockquotes, and list markers color-coded in the editor
  • Scroll sync — bidirectional scroll synchronization between editor and preview
  • Markdown formatting — Bold (Cmd+B), Italic (Cmd+I), Link (Cmd+K)
  • GitHub-flavored rendering via marked.js
  • Dark Mode — automatic (system), light, or dark via View > Appearance
  • Print — Cmd+P opens the native macOS print dialog with paginated A4 output
  • Context-aware zoom — Cmd+/Cmd- targets the active pane: preview in view mode, editor font in edit mode, focused pane in split mode
  • New files — Cmd+N creates a blank Markdown document
  • Native file handling — Open, Save, Recent Files, drag & drop
  • 360 KB total — no Electron, no runtime, no dependencies

Performance

Metric Value
App size 360 KB
Download (zip) < 150 KB
Cold start < 50 ms
Memory ~112 MB

Install

Download the latest .app from Releases or build from source:

brew install xcodegen
xcodegen generate
xcodebuild -scheme MDViewerPlus -configuration Release build

Keyboard Shortcuts

Action Shortcut
Print Cmd P
Toggle View Mode Cmd E
Bold Cmd B
Italic Cmd I
Link Cmd K
Save Cmd S
New File Cmd N
Reload Cmd R
Zoom In Cmd +
Zoom Out Cmd -
Actual Size Cmd 0
System Appearance Cmd Shift 0
Light Mode Cmd Shift 1
Dark Mode Cmd Shift 2

Dependencies

Library Version License Purpose
marked 15.0.7 MIT Markdown → HTML parsing

No Swift package dependencies. No external frameworks.

License

MIT

About

A minimal macOS Markdown editor and viewer under 500 KB. Live split-view preview, scroll sync, GitHub-style rendering, Dark Mode.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •