Actions you write once
Reword, shorten, expand, fix grammar, summarise, outline, action items, turn it into a table. Past that, your own prompts live in the same menu, with a tone of voice if you want one.
A diff before anything changes
Every edit arrives as a word-by-word diff. Walk it change by change, take the lot, or throw it away.
Route one: your own key
The best models, at cost, billed to you. The key lives in the macOS keychain, never in a settings file and never on a server, because there is no server.
Route two: the agent you have
Margin spots Claude Code or Codex CLI on your Mac and routes through it. You already pay for it, so it costs nothing extra and needs no key.
Route three: nothing leaves
Download a model into Margin, or point it at the Ollama models already on your disk. It runs offline, on a plane, with the wifi off.
Results go where you want
Each action decides where its result lands: in the note as a diff, or straight onto the clipboard.
More of Margin
A space is a folder you choose, and every note is one Markdown file inside it. Margin is a fast view over that folder, nothing more.
You type Markdown and it renders as you go. No preview pane, no second copy, no toolbar. The markers step aside when the cursor leaves them.
Each space is its own folder, its own note list, its own search and its own tint. One click and the others stop existing for a while.
Links between notes point at the note, not the filename, so reorganising at eleven at night does not break a single one.
Every parent is itself a note, with its own words, not a bare folder. The tree underneath is plain files and folders that read fine anywhere else.
Paste a link to a pull request or an issue and it shows its state, its checks and where the review stands, right in the note.