Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Notion-style Comments

Jiwoo RohJiwoo Roh85 downloads

Margin comments stored inline in your Markdown, with a formatting toolbar, custom highlight colors, and an underline style.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates10

This is a fork of kylemcd/obsidian-document-comments (Document Comments) by Kyle McDonald. All credit for the original plugin goes to the original author. This fork adds the features listed below. The original work is used under the MIT License; see LICENSE.

Notion-style Comments adds inline comments to Obsidian notes. It shows each comment as a card beside the text on desktop and iPad.

Install it from the Obsidian community plugin directory.

If you like it,

The plugin stores each comment inside its Markdown file as an HTML comment. Other editors, version control tools, and agents can read the comment.

Check this out!

For more Notion-style editing, check out Notion Selection Toolbar, another plugin of mine.

Notion Selection Toolbar

What this fork adds

Text formatting toolbar in comments

Select text while you write or edit a comment, and a small toolbar appears above the comment box:

  • B / I / U / S: bold, italic, underline, strikethrough
  • Text color
  • Highlight color

Text formatting toolbar

Highlight colors

Choose how commented text is marked in your notes.

  • Highlight color: your theme's highlight color, or one of Notion's 9 colors (yellow, green, blue, purple, pink, red, orange, brown, gray), with separate light and dark palettes.
  • Highlight intensity: 0% (the default) is Notion's exact color. Raise it to make every highlight bolder.
  • Custom colors: pick your own hex value for each color, separately for light and dark themes. Each picker shows the default until you change it; ↺ resets it.

Highlight color settings

Underline style and per-comment overrides

  • Annotation style: mark commented text with a highlight only, an underline only, or both.
  • Use a comment's ⋯ menu to change the color or style of that single comment.

Per-comment color and style menu

Comment from a selection toolbar

Pair this fork with Notion Selection Toolbar, another plugin of mine. Select text in a note and choose Comment from its floating toolbar to start a comment.

Comment button in Notion Selection Toolbar

Comments in PDF export

When you export a note to PDF, each commented passage is highlighted with a footnote number, and its comment (with replies) is printed beside it in a right-hand margin column. Turn it off with Show comments in PDF export in settings, or run Toggle comments in PDF export from the command palette. Resolved comments are included only when Show resolved comments is on.

Narrow window layout

When the window is too narrow for the margin (or an iPad in portrait), comment cards hide and appear when you hover over or tap the highlighted text, so the note keeps its full width.

Narrow window layout

Profile photo

In settings, set Profile photo to an image from your vault (Choose…) or an image link. It shows as a small round photo next to your name on your own comments and replies. Turn off Show my profile to hide your name and photo on your comments.

Hide author names

Turn off Show author names in settings to hide who wrote each comment and reply, on comment cards and in highlight hover previews.

Long comments

Long comments show in full when there's room. A comment folds to a "more" preview only when it would run into the next card, or when it's taller than the window (then it offers Open in sidebar →). Use less / more to fold or unfold one yourself; your choice stays until you click the other.

iPad support

iPad shows comment cards in the margin, like desktop. Phones show highlights only, and you read and add comments in the sidebar and a pop-up.

Smaller touches

  • Comment boxes grow as you type.
  • Click your own comment text to edit it.

Original features

Comments and storage

  • Store comments inside Markdown files without a separate database.
  • Add comments to prose, inline code, tables, and selected lines in fenced code blocks.
  • Save an empty comment and highlight its selected text.
  • Reply, resolve, reopen, edit, delete, or react to a comment.
  • Write Markdown in comments, including links, lists, bold text, and code spans.
  • Use the same notes on desktop and mobile.

Views and controls

  • Show comment cards in Live Preview, Source view, and Reading view.
  • Open long comments in the sidebar.
  • Filter the sidebar by open, resolved, or all comments.
  • Hide all comments or hide resolved comments.

Comment format

The plugin uses an anchor pair and a comment block:

We should <!--c:k3f9-->ship on Friday<!--/c:k3f9--> regardless of the QA timeline.
<!--co:k3f9 by:kyle at:2026-06-17T10:00:00.000Z status:open quote:"ship on Friday"
kyle (2026-06-17T10:00:00.000Z): I thought we agreed Thursday?
sam (2026-06-17T10:05:00.000Z): Thursday is better for QA.
-->

The <!--c:ID--> and <!--/c:ID--> markers identify the selected text. The matching <!--co:ID ...--> block stores the comment thread.

Markdown renderers hide these HTML comments. Tools that read the source file can find each comment and its selected text.

Comments on fenced code blocks use the same format. The comment block also stores the selected line range and exact code text.

A comment's color or style override (set from its ⋯ menu) is stored in the same header, for example color:blue style:underline.

An empty comment uses the same markers. Its comment block has no thread lines:

We should <!--c:h7k2-->ship on Friday<!--/c:h7k2--> regardless of the QA timeline.
<!--co:h7k2 by:kyle at:2026-06-17T10:00:00.000Z status:open quote:"ship on Friday"
-->

Install

Notion-style Comments requires Obsidian 1.7.2 or newer. It supports desktop and mobile.

Community plugins

Install it from Obsidian:

  1. Open Settings → Community plugins.
  2. Select Browse.
  3. Search for Notion-style Comments.
  4. Select Install.
  5. Select Enable.

BRAT

Use BRAT to install a pre-release build:

  1. Install BRAT from Community plugins.
  2. Enable BRAT.
  3. Run BRAT: Add a beta plugin for testing.
  4. Enter jiwooroh/obsidian-document-comments.
  5. Enable Notion-style Comments in Community plugins.

BRAT installs the latest GitHub release and checks for updates.

Manual install

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Copy the files to <your-vault>/.obsidian/plugins/notion-style-comments/.
  3. Restart or reload Obsidian.
  4. Enable Notion-style Comments in Community plugins.

Create the notion-style-comments directory if it does not exist.

Build from source

git clone https://github.com/jiwooroh/obsidian-document-comments
cd obsidian-document-comments
npm install
npm run build

Copy or link main.js, manifest.json, and styles.css to <your-vault>/.obsidian/plugins/notion-style-comments/.

Then enable Notion-style Comments in Community plugins.

Use the plugin

Add a comment in an editing view

  1. Select text or one or more lines in a fenced code block.
  2. Run Add comment from the command palette or your configured editor menu.
  3. Write the comment in the margin composer.
  4. Press Enter to save the comment.

Press Shift+Enter to add a line break. On a phone, use the dialog to save the comment.

Add an empty comment

Notion-style Comments disables empty comments by default.

  1. Open Settings → Notion-style Comments.
  2. Enable Allow empty comments.
  3. Select text and run Add comment.
  4. Leave the comment field empty.
  5. Press Enter on desktop or tablet, or select Empty comment on a phone.

The plugin highlights the selected text and shows a comment card. The card shows Empty until you add text.

Select Empty to add the first comment text. Use the card menu to delete the empty comment.

You can also select all the highlighted text and run Add comment again. Write text to add the first comment. Submit the empty field to delete it.

When Allow empty comments is off, an empty field closes without a change. Existing empty comments remain available. You can add text or delete them.

Add the command to the right-click menu

The optional Commander plugin can add commands to the editor menu.

Install Commander

  1. Install Commander.
  2. Enable Commander.

Configure the editor menu

  1. Open Settings → Commander.
  2. Select Editor Menu.
  3. Select Add command.
  4. Search for Notion-style Comments: Add comment.
  5. Select the command.
  6. Choose an icon.

The command now appears at the bottom of the editor right-click menu. Select text before you use it.

Add a comment in Reading view

  1. Select text in the active note.
  2. Run Add comment in reading view.
  3. Write the comment.
  4. Save the comment.

The Reading view command cannot add comments to embedded content.

Manage a comment

Select a card to open its reply field. Each entry has react, resolve, and reply buttons, plus a ⋯ menu to change the comment's color or style, or delete it. Click your own comment text to edit it.

Use the Open comments sidebar command or ribbon icon to show all comments in the active note.

Use Toggle comments to show or hide all cards and highlights. Use Toggle resolved comments to show or hide resolved comments. Use Toggle comments in PDF export to include or leave out comments when exporting to PDF.

Set the author

Open Settings → Notion-style Comments. Set Author to the name that the plugin adds to new comments.

The plugin uses me when the Author setting is empty. Your profile photo and Show my profile apply to comments written under this name.

Settings

Setting What it does Default
Author Name added to your new comments me
Profile photo Small round photo next to your name on your own comments (vault image or link) None
Show comments Show the comment cards and highlights On
Show my profile Show your name and photo on your own comments On
Show author names Show who wrote each comment and reply, on cards and hover previews On
Show resolved comments Keep resolved comments visible Off
Allow empty comments Let a comment be saved without text (highlight only) Off
Show comments in PDF export Print comments in a margin column when exporting to PDF On
Annotation style Highlight, Underline, or Highlight + underline Highlight
Highlight color Theme default or one of Notion's 9 colors Theme default
Highlight intensity How bold the highlight color is (0% = Notion's exact color) 0%
Custom highlight colors Your own hex for each color, per light/dark theme Notion's palette

Desktop, tablet, and phone behavior

Desktop and tablet (iPad) views show cards in a margin beside the note. The cards align with their selected text and avoid overlaps.

Phone views show the highlights without a margin. Use the sidebar to read and manage comments there.

Phones use a dialog for new comments. The stored comment format stays the same on all devices.

Agent support

This repository includes an agent skill for the comment format:

skills/document-comments/

The skill explains how to read and edit comments without damaging their markers. It also includes a validation script:

python3 skills/document-comments/scripts/validate_comments.py path/to/file.md

Privacy

The plugin does not use the network, telemetry, or accounts. It stores all comment data in the note.

Known limitations

  • Reading view comments work best with plain text inside one paragraph.
  • Reading view cannot add a comment to text inside an embed.
  • Avoid overlapping comment anchors because comments on the same words can be difficult to manage.
  • The sidebar shows an orphaned comment when no matching selected text remains.
  • Live Preview table highlights require browser support for CSS Custom Highlight.

Development

npm install
npm run dev
npm run build
npm run check
npm test
  • npm run dev watches the source files and rebuilds main.js.
  • npm run build checks types and creates a production bundle.
  • npm run check checks formatting, lint rules, types, and tests.
  • npm test runs the test suite.

Release

Update manifest.json, package.json, versions.json, and CHANGELOG.md before a release. The tag must match the version in manifest.json exactly, with no leading v.

Build, then create the GitHub release with the plugin files attached, using that version's CHANGELOG section as the notes:

npm run build
gh release create 0.2.9 --title 0.2.9 --notes "…" main.js manifest.json styles.css

License

Notion-style Comments uses the MIT License. See LICENSE.

HealthGood
ReviewCaution
About
Add Notion-style inline comments to notes, storing each comment as an HTML comment in the Markdown file and showing comment cards beside highlighted text on desktop. Format comments with a rich toolbar, choose highlight or underline styles with preset or custom colors, create comments from a text selection or floating button, and reveal cards on hover in narrow windows.
AnnotationEditing
Details
Current version
0.2.9
Last updated
Last week
Created
2 weeks ago
Updates
10 releases
Downloads
85
Compatible with
Obsidian 1.7.2+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
Jiwoo RohJiwoo Rohlucytheboss
github.com/lucytheboss/obsidian-ribbon-hider
GitHubjiwooroh
  1. Community
  2. Plugins
  3. Annotation
  4. Notion-style Comments

Related plugins

Admonition

Admonition block-styled content.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Advanced Tables

Improved table navigation, formatting, and manipulation.

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

Outliner

Work with your lists like in Workflowy or Roam Research.