Skip to content
On this page: Install

Review Markdown in the terminal.

annoterm is a terminal app for reviewing Markdown plans and specs. Attach comments to rendered blocks or selected source text. It builds a prompt with your comments and their locations for your coding agent.

Install with Homebrew

brew install filipgutica/tap/annoterm

Homebrew builds annoterm from source with Rust as a build dependency. Install Homebrew if you don't have it.

Runs on
macOS and Linux
Written in
Rust
License
MIT

From review to agent

Use your own Markdown file in place of README.md.

  1. Open the file

    Run annoterm README.md. The file opens in rendered mode. Press Up or Down to select a block.

  2. Add your comments

    Press a to comment on the selected block. Write your comment. Press Enter to save it.

  3. Hand off the feedback

    Press q to quit from the rendered document. If open comments remain, annoterm tries to copy the feedback to your clipboard. Check the result in your terminal.

    Paste the feedback into Codex, Claude Code, or another coding agent. If copying fails, run annoterm export README.md --output feedback.md. Then paste the contents of feedback.md into your agent.

These captures show a demo document in annoterm 0.2.0.

Read

annoterm docs/retry-policy.md

Demo: the marker beside the paragraph shows the selected block.

Comment

a → write comment → Enter

Demo: the dot marks the commented block. The Comments panel lists the comment as open, so it goes into the feedback.

Feedback

annoterm export docs/retry-policy.md --output feedback.md

Demo: each open comment becomes one section, with its lines, state, selected text, and ID. The agent can use the ID to say which comment each change answers.

On screen

●
Comment anchored to its current text.
◌
Outdated comment at an approximate location.
Open
Only open comments enter the feedback. Resolved comments stay saved.
Bottom bar
Shows the shortcuts for the pane you are using.

Commands

annoterm tries to copy feedback after each comment change. Use these commands to copy it again or export a file.

CommandWhat it does
annoterm copy-feedback README.mdCopy the feedback again after another app replaces your clipboard.
annoterm export README.md --output feedback.mdWrite feedback to a file. Export refuses to replace an existing file unless you add --force.
annoterm --annotations review.json README.mdChoose a comment file, for example one you keep in the repository. Use --annotations with copy-feedback and export too.

Keys

To open shortcut help, press ? in rendered mode or the Comments panel. In raw mode or while writing a comment, press F1.

KeyWhat it does
Ctrl+RSwitch between rendered mode and raw mode to edit the Markdown source.
Shift + arrow keysSelect text in raw mode.
Ctrl+KStart a comment on the raw selection or the selected rendered block.
Ctrl+WFocus the Comments panel. Use Up or Down to select a comment.
xResolve or reopen the selected comment in rendered mode or the Comments panel.
EscReturn from the Comments panel to the document.
Ctrl+SSave Markdown edits.
Ctrl+QQuit from either document mode.

Good to know

Comment files
annoterm stores comments separately from the Markdown file in a JSON sidecar. By default, these comment files live under ~/.annoterm. When the document changes, annoterm tries to keep each comment on its text.
Saving Markdown
Starting or submitting a comment saves unsaved Markdown edits first. Otherwise, commenting leaves the Markdown file unchanged.
Quitting with unsaved edits
With unsaved Markdown edits, the first quit press warns you. Press the quit key again to discard those edits.
External file changes
If another program changes the Markdown file, annoterm refuses to save over that change. The status line shows an error. annoterm has no merge view to combine the two versions.
Linux clipboard
For Wayland, install wl-copy. For X11, install xclip. If neither works, annoterm falls back to OSC 52. Some terminals and SSH sessions block it. OSC 52 cannot confirm delivery, and annoterm sends at most 100,000 bytes this way.
Local review
annoterm needs no account or server. It never sends your documents or comments over the network.