A lightweight Markdown viewer for macOS built with SwiftUI and WKWebView.
- Renders GitHub-flavored Markdown with full styling
- Syntax highlighting for 190+ languages via highlight.js
- Dark and light mode support (follows system appearance)
- Copy button on code blocks
- Link hover preview
- Anchor navigation with smooth scrolling
- Back/forward navigation through scroll history
- File watching — auto-reloads when the file is saved externally
- PDF export (Cmd+E)
- Print support (Cmd+P)
Open Unfold.xcodeproj in Xcode and build (Cmd+B).
Unfold bundles the following libraries:
- marked v15.0.12 — Markdown parser (MIT License)
- highlight.js v11.11.1 — Syntax highlighter (BSD 3-Clause License)
0BSD — See LICENSE for details.