原始内容
Arto — the Art of Reading Markdown.
A local app that faithfully recreates GitHub-style Markdown rendering for a beautiful reading experience.
Philosophy
Markdown has become more than a lightweight markup language — it's the medium for documentation, communication, and thinking in the developer's world. While most tools focus on writing Markdown, Arto is designed for reading it beautifully.
The name "Arto" comes from "Art of Reading" — reflecting the philosophy that reading Markdown is not just a utility task, but a quiet, deliberate act of understanding and appreciation.
Arto faithfully reproduces GitHub's Markdown rendering in a local, offline environment, offering a calm and precise reading experience with thoughtful typography and balanced whitespace.
[!WARNING] Beta Software Notice
- This application is still in beta and may contain bugs or unstable behavior. Features may change without regard to backward compatibility.
- macOS Only: This application is currently designed exclusively for macOS and does not support other platforms. However, cross-platform support is a long-term goal, and PRs are welcome.
Features
Core Reading Experience
- GitHub-Style Rendering — Accurate reproduction of GitHub's Markdown styling with full support for extended syntax
- Native Performance — Built with Rust for fast, responsive rendering
- Auto-Reload — Automatically updates when the file changes on disk
- Offline First — No internet connection required — read your docs anytime, anywhere
Navigation & Organization
- File Explorer — Built-in sidebar with file tree navigation for browsing local directories
- Quick Access — Bookmark frequently used files and directories for instant access
- Directory History — Back/forward navigation within the sidebar file explorer
- Table of Contents — Automatic TOC panel for easy document navigation
- Live Navigation — Navigate between linked markdown documents with history support (back/forward)
Search & Discovery
- Find in Page — Search within documents with
Cmd+F - Pinned Search — Pin search queries with persistent multi-color highlighting across sessions
Window & Tab Management
- Tab Support — Open and manage multiple documents in tabs within a single window
- Multi-Window — Create multiple windows and open child windows for diagrams
- Cross-Window Tabs — Drag and drop tabs between windows
- Drag & Drop — Simply drag markdown files onto the window to open them
Advanced Rendering
- Mermaid Diagrams — Interactive diagram viewer with zoom, pan, and copy-as-image
- Math Expressions — Beautiful KaTeX rendering for mathematical notation
- Code Highlighting — Syntax highlighting with copy button for code blocks
- Frontmatter — Renders YAML frontmatter as a styled, collapsible table
- GitHub Alerts — Full support for NOTE, TIP, IMPORTANT, WARNING, and CAUTION alerts
Customization
- Dark Mode — Manual and automatic theme switching based on system preferences
- Zoom Controls — Keyboard shortcuts and trackpad gestures for zoom
- Preferences — Configurable settings for sidebar, TOC, and more
- Context Menus — Right-click menus for quick actions on files and content
Keyboard Shortcuts
Shortcuts are stored in mappings.json (next to config.json in the app config
directory) and come in two kinds:
- Menu shortcuts (
menuShortcuts) — native OS menu accelerators. Single chord only (e.g.Cmd+o), shown in the menu bar, dispatched by the system, so they work even when no window has keyboard focus (e.g.Cmd+nwith all windows closed). Keyed by a menu action such asfile.open. - Keybindings (
globaland the per-context sections) — handled by the in-window engine. Support chord sequences (e.g. vimg g) and per-context behavior, but only fire while a document window has focus.
The same action may appear in both — for example file.open can be a native
Cmd+o menu shortcut and additionally have an in-window keybinding.
Migrating an older mappings.json: files written before menuShortcuts
existed still load unchanged. Menu-backed shortcuts you had under global
(e.g. Cmd+o, Cmd+n) keep working via the engine, but to get native menu
accelerators move those entries into a menuShortcuts section, or re-apply a
preset (Default / Vim / Emacs) from Preferences.
macOS Integration
- Quick Look — Press Space on any Markdown file in Finder to get a rendered preview
- Finder Preview Pane — Markdown files display rendered HTML in the Finder sidebar preview pane
Installation
Use Homebrew tap to install. Since the application is not signed or notarized with an Apple Developer ID, you'll need to remove the quarantine attribute after installation. See homebrew-tap for more information.
brew install --cask arto-app/tap/arto
xattr -dr com.apple.quarantine /Applications/Arto.app
[!TIP] Quick Look preview not showing? macOS normally registers the Quick Look extension the first time you launch Arto. If pressing Space on a Markdown file still shows no preview — or a stale one right after an upgrade — register the extension manually and refresh the cache:
pluginkit -a /Applications/Arto.app/Contents/PlugIns/ArtoQuickLook.appex qlmanage -r && qlmanage -r cache
Alternatively, Nix is also supported. To try it without a permanent installation:
nix run github:arto-app/Arto
For a permanent installation, use nix-darwin or home-manager. Add the following to your flake inputs:
arto.url = "github:arto-app/Arto";
Then add it to environment.systemPackages (nix-darwin) or home.packages (home-manager):
environment.systemPackages = [ inputs.arto.packages.${system}.default ];
Launch the application to see the welcome screen with keyboard shortcuts and usage instructions.
Usage
After installation, the arto command becomes available in your terminal:
arto # Launch Arto (shows welcome screen)
arto README.md # Open a specific file
arto --open=screen README.md
arto --open=new README.md
arto --directory=. README.md
arto docs/ # Open a directory in the file explorer
arto file1.md file2.md # Open multiple files in tabs
Arto runs as a single instance — if Arto is already running, the command sends requests to the existing process instead of launching a new one.
arto FILEuseslast_focusedbehavior by default (reuse last focused visible window).--open=screenopens on/reuses a visible window on the cursor's current screen.--open=newalways opens in a new window.--directory=DIRsets the FileExplorer root directory for that invocation.- Positional directory arguments (e.g.
arto docs/) also set the root directory. - Running
artowithout arguments shows/focuses an existing window if hidden, or opens one if none exists.
Official Website
Visit arto-app.github.io for screenshots, feature highlights, and more.
Contributing
See CONTRIBUTING.md for development setup and guidelines.
License
See LICENSE file for details.