Notion-Style Comments: Margin Comments & Suggesting Mode in Plain Markdown
- Members
- Jiwoo Roh (fork & evolution of Document Comments)
- My Role
- Developer and UX designer
- Project Period
- 2026
- Stack
- TypeScript · CodeMirror 6 · Obsidian API · Inline HTML Markdown markers
Problem and context
Writers and researchers who draft papers in Obsidian often miss two collaborative editing staples from Notion and Google Docs: side-by-side margin comments anchored directly to passages, and a Suggesting Mode for reviewing edits without immediately overwriting the text. Existing note-comment workarounds either clutter Reading View with raw syntax or hide metadata inside proprietary sidecar databases that break in Git diffs and AI tools.
Built by forking and extensively evolving Kyle McDonald’s Document Comments, Notion-Style Comments brings Notion/Linear-style anchored margin cards and Google Docs-style tracked suggestions directly into Obsidian while storing every comment inline as clean HTML comment markers inside the plain Markdown file — remaining invisible in Reading View yet completely readable by Git, external editors, and coding agents.

Design decisions & local-first architecture
- Inline Markdown storage
- Every anchor and thread lives directly in the
.mdfile as hidden HTML markers (<!--c:ID-->/<!--co:ID ...-->), guaranteeing portability across devices, version control, and LLM workflows with zero external database files. - Suggesting Mode
- Toggle Suggesting Mode to track insertions and deletions inline without losing original phrasing; margin cards surface one-click Accept and Reject controls for clean revision passes.
- Floating selection toolbar
- Highlighting text reveals a compact Notion-inspired formatting and comment bar with custom highlight colors, underline styling, and instant comment anchoring.
- Adaptive layouts
- Supports full side-by-side margin cards on desktop and iPad, compact single-line cards, and minimal PDF-style margin note icons for narrow panes.

