Nicolas Sassi41 downloadsAdd PR-style review comments anchored to specific paragraphs, headings, images, code blocks, and tables. Comments live in a sibling .review.md sidecar so the source document stays clean.
Add PR-style review comments to any document in your Obsidian vault. Anchor comments to specific paragraphs, headings, list items, images, code blocks, callouts, or tables — your source documents stay clean because comments live in a sibling .review.md sidecar file.
Obsidian is great for writing long documents collaboratively (with yourself, your future self, or external tools), but it has no built-in equivalent to a GitHub pull-request review. This plugin adds that workflow:
.review.md sidecar to any tool — a human, a script, an AI assistant — that can act on the comments.The plugin is intentionally protocol-based: it stores comments in a documented markdown sidecar format and does not bind to any specific downstream tool. Anything that can read markdown can participate.
^blockref markers, so they survive document reflow.open, gray for resolved, red for stale (the anchored block no longer exists).Settings → Community plugins → Browse → search "Redline" → Install → Enable.
git clone <this-repo>
cd redline
npm install
npm run build
manifest.json, main.js, and styles.css to <vault>/.obsidian/plugins/redline/.Cmd/Ctrl + P) → Review: Add comment at cursor.The plugin will:
^blockref anchor on the target block if it doesn't have one (reusing an existing anchor when present).<doc>.review.md next to your document.Click the speech-bubble ribbon icon on the left, or run Review: Toggle sidebar.
In the sidebar, click Resolve on the comment card. The status flips to resolved and the gutter dot turns gray. Click Reopen to flip it back.
The <doc>.review.md sidecar is a plain, documented markdown file. Any tool you trust to edit your documents — a script, an AI assistant, a coworker — can read the open comments and apply the requested changes.
_reviews/ folder.| Command | What it does |
|---|---|
| Review: Add comment at cursor | Create a new comment anchored to the current block. |
| Review: Toggle sidebar | Show/hide the review sidebar on the right. |
| Review: Jump to next open comment | Move the cursor to the next unresolved comment in the active doc. |
npm install
npm run dev # watch mode
npm run build # production build
npm test # vitest unit tests for parser + block-id logic
Tests cover the sidecar parser/serializer round-trip and the block-id injection logic. UI components are verified manually inside Obsidian.
MIT — see LICENSE.