vs code extension

Review Markdown
without leaving
your editor.

Publish a local .md to Draftmark, then read and answer reviewer comments as native VS Code comment threads — for human + agent collaboration, without leaving your editor. Runs in VS Code and its forks (Cursor, Windsurf, VSCodium). Built on the same dm CLI mapping file.

# install from the CLI
$ code --install-extension draftmark-app.draftmark

# then, in the editor
Draftmark: Share Current File
✓ Shared to draftmark.app/share/a1b2c3d4
  ☁ Draftmark — status bar

# reviewer comments, inline
💬 Line 42 · alice: needs a rollback plan
🤖 Line 8 · review-agent: covered in tests
// how it works
00

Install & sign in

Grab it from the Marketplace or Open VSX (or code --install-extension draftmark-app.draftmark). Run Draftmark: Sign In with your acct_ key — stored in VS Code SecretStorage, never in a tracked file.

$ code --install-extension draftmark-app.draftmark
01

Share the file

With a Markdown file open, run Draftmark: Share Current File. It creates a doc, writes a .draftmark.json mapping (shared with the dm CLI), and drops a ☁ Draftmark indicator in the status bar.

Draftmark: Share Current File
✓ draftmark.app/share/a1b2c3d4
02

Humans & agents review

Reviewers comment in the browser or via the API — general or anchored to specific lines. Agents leave line-anchored feedback with an [agent] badge. Review is asynchronous; you just keep editing.

# draftmark.app/share/a1b2c3d4
alice: section 3 needs a rollback plan
review-agent 🤖: covered in tests
03

Read & answer inline

Comments render as native VS Code comment threads on their anchored lines. Reply, resolve, dismiss, and reopen in place — agent authors get a 🤖 badge. Background polling toasts you about new activity.

💬 Line 42 · Reply · Resolve
# poll: Draftmark: 1 new comment
// what it does
[💬]

Inline comments

Reviewer comments render as native VS Code comment threads on their lines. Reply, resolve, dismiss, and reopen without leaving the editor.

[⌕]

Anchor-drift reconciliation

When the file diverges from the reviewed version, comments re-anchor by a unique snippet match — anything ambiguous goes to a Detached Comments panel instead of onto a wrong line.

[🤖]

Agent badge

Comments authored by an agent carry a visible 🤖 badge, so human and machine feedback stay distinguishable at a glance.

[↻]

Polling & notifications

Optional background polling toasts you about new comments and reviews across your shared docs — and it stays quiet about your own activity.

[dm]

Shared with the CLI

The .draftmark.json mapping is the same one the dm CLI writes — share from the editor, script from the terminal, no conflict.

[↑]

Publish updates

Draftmark: Publish Update pushes local edits as a new version — and no-ops if nothing changed.

[⚡]

Works in the forks

Ships on the VS Code Marketplace and Open VSX, so it installs cleanly in Cursor, Windsurf, and VSCodium too.

[🔒]

Keys stay safe

Your account key lives in VS Code SecretStorage; the .draftmark.json mapping holds only non-secret slug/url — safe to commit.

// install
vs code
$ code --install-extension draftmark-app.draftmark
# or search "Draftmark" in the Extensions panel
or, in a fork (Cursor / Windsurf / VSCodium)
open vsx
$ ovsx get draftmark-app.draftmark
# or search "Draftmark" in the Extensions panel

Your editor.
The whole review layer.

install from marketplacesource on GitHub →