A beautifully crafted, blazingly fast native macOS markdown viewer that puts reading experience first.
Parchment is the markdown viewer for Mac users who appreciate native performance and exceptional design. Built with Swift and AppKit, it launches instantly, renders beautifully, and feels like a true Mac app should feel.
- Instant Launch - Native Swift/AppKit means no Electron overhead
- Beautiful Typography - Carefully tuned rendering for optimal readability
- Focus Mode - Eliminate distractions with intelligent content dimming and typewriter scrolling
- Smart Navigation - Hierarchical table of contents with smooth scrolling
- Live Preview - See changes instantly as your files update
- Reading Statistics - Word count, reading time, and reading progress
- Native Performance - Optimized for smooth 120Hz scrolling on ProMotion displays
- Thoughtful Themes - Hand-crafted light and dark themes with perfect contrast
- Syntax Highlighting - Beautiful code block rendering that matches your theme
- Distraction-Free - Clean interface that gets out of your way
- Quick Look Support - Preview markdown files with spacebar in Finder
- Instant - Sub-100ms launch time
- Lightweight - Under 50MB memory usage for typical documents
- Smooth - Consistent 60-120fps scrolling
- Responsive - No beach balls, no lag, no waiting
- Native - True Mac app performance and efficiency
- Clone the repository:
git clone https://github.com/cschuman/Parchment.git
cd Parchment- Build with Swift Package Manager:
swift build -c release- Run the application:
swift run Parchment# Open a specific markdown file
Parchment path/to/document.md
# Open with the GUI
open -a Parchment document.md| Action | Shortcut |
|---|---|
| Open File | βO |
| Export as PDF | βE |
| Toggle Focus Mode | βF |
| Toggle Table of Contents | βT |
| Show Reading Statistics | β/ |
| Zoom In | β+ |
| Zoom Out | β- |
| Actual Size | β0 |
| Navigate to Next Header | β (three-finger swipe) |
| Navigate to Previous Header | β (three-finger swipe) |
- Preview README files with beautiful rendering
- Navigate large docs with the table of contents
- Copy code blocks with syntax highlighting preserved
- Distraction-free mode for long-form content
- Typewriter scrolling keeps your focus centered
- Reading statistics help track progress
- Spacebar preview in Finder via Quick Look
- Instant file switching with no lag
- Live updates as files change
Parchment/
βββ App/ # Application lifecycle
βββ Windows/ # Window management
βββ ViewControllers/ # View controllers
βββ Views/ # Custom views
βββ Rendering/ # Markdown rendering pipeline
β βββ MarkdownAttributedStringVisitor.swift
β βββ CodeSyntaxHighlighter.swift
βββ Theme/ # Theme management
βββ Navigation/ # TOC and navigation
βββ Export/ # Export functionality
βββ Performance/ # Performance monitoring
βββ Utilities/ # Helper classes
βββ Resources/ # Assets and themes
Preferences are available through β, with options for:
- Appearance: Theme, font size, line spacing
- Editor: Focus mode, typewriter scrolling, syntax highlighting
- General: Default editor, recent files, auto-update
- Advanced: Cache management, performance tuning
Run the test suite:
swift testUnlike Electron-based viewers, Parchment is a true native Mac app:
- Launches instantly, no spinner
- Uses native fonts and rendering
- Respects your system preferences
- Works perfectly with Mission Control and Spaces
- Minimal battery impact
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- swift-markdown for markdown parsing
- swift-syntax for syntax highlighting
- The macOS developer community for inspiration
- Enhanced typography with optical sizing
- Smooth spring-physics scrolling
- More beautiful built-in themes
- Faster document loading (<20ms)
- Print styles optimization
- Reading progress indicators
- Automatic bookmarks
- Export with custom styling
- Better image handling
- PDF export with perfect fidelity
- Touch Bar support
- Handoff between devices
- Stage Manager optimization
- System text services integration
For issues, questions, or suggestions, please open an issue.
Built with β€οΈ for the macOS community