Getting started
This guide takes the shortest path to a directory workspace. To open only one Markdown file, pass that file directly to Markon.
Desktop app
1. Install
Packages are available for Apple Silicon and Intel Macs, Windows x64 and ARM64, and Linux amd64 and arm64. See Installation for first-launch security prompts.
2. Add a directory
Start Markon, select the Workspaces page, click + in the lower-left corner, and choose a directory containing Markdown files.
You can also enter through the system file manager:
- macOS: drag Markon.app into the Finder toolbar, then click it in the target directory;
- Windows: use Open with Markon from a directory or Markdown file's context menu.
Directory workspaces are recorded in ~/.markon/settings.json and restored after the service restarts.
3. Open the browser workspace
Click the workspace card's open button. The workspace page contains:
- an expandable file tree;
- workspace path, alias, and id;
- four advanced switches: Edit, Chat, Live, and Share;
- branch, history, and working-tree information for Git repositories;
- search and current-version entry points.
A browser opened by the desktop app is guided through an administrator session, so it can change features, manage files, check out branches, and commit. A browser does not become an administrator merely because it accesses a localhost URL.
4. Choose a workflow
Read and search
- Search is available automatically; wait for the content index to become ready.
- Open a Markdown file.
- Press / or g to search files and content.
- Press ? to see the shortcuts available on the current page.
Review a long document
- Annotate and Progress are available after workspace access. Share off uses Personal data; Share on selects common data.
- Select text and create a highlight, strikeout, or Note.
- Focus an H2–H6 heading; press v to toggle its Read checkbox or o to fold it independently.
- Use heading actions to export Notes or print that section.
Review Git changes
- Return to the workspace root.
- Open Working diff or a commit.
- Switch between Rendered and Raw; Raw also supports Split and Unified layouts.
- Use each file's Read checkbox to track Progress, and j/k to focus changes.
CLI and servers
1. Install both binaries
cargo install markon markondmarkon is the local control client and markond is the background service. Both should be on PATH. If the CLI cannot find markond, it falls back to foreground service mode.
2. Open a file or directory
markon README.md # path arguments open the browser by default
markon docs/ # directory workspace
markon -b # current directory, explicitly open the browserThe first command starts the background service. Later commands add paths to the same service.
3. Manage workspaces
markon ls
markon set 1 edit on
markon set 1 share on
markon detach 1
markon shutdownBare markon ls opens a TUI in an interactive terminal and prints static cards when piped or redirected. Use --format cards|table to choose explicitly.
4. SSH and administrator sessions
On a headless server:
markon admin codeEnter the one-time pairing code on the browser's administrator bootstrap page. Administrator sessions remain separate from ordinary collaborator sessions.
5. LAN or reverse proxy
# LAN
markon docs/ --host 0.0.0.0 --public-base-url http://192.168.1.20:6419
# HTTPS reverse proxy
markon docs/ --host 127.0.0.1 \
--public-base-url https://docs.example.com \
--trusted-host https://docs.example.com--public-base-url supplies the displayed/QR-code address and registers its Host and origin. Public deployments still need TLS at the reverse proxy; see Reverse proxy.
Single-file workspaces
markon path/to/README.mdA single-file workspace:
- searches only that file;
- exposes only the document and explicitly referenced local resources that remain inside its parent directory;
- is removed automatically on the next service start by default;
- can be retained by disabling automatic removal in desktop global settings.