Reading comments

by BumbrT
5
4
3
2
1
Score: 57/100

Description

Category: Note Enhancements

The Reading Comments plugin enhances the note-taking experience in Obsidian by allowing users to create, manage, and interact with inline comments in markdown notes. Comments can be tagged hierarchically and grouped for better organization. Users can toggle between block and inline comments, search through them, and navigate to specific comments easily. The plugin also supports extracting the original note with links to the comments for better integration with the vault. Additional features include hiding comments until hovered, color customization, and light/dark theme compatibility.

Reviews

No reviews yet.

Stats

55
stars
10,198
downloads
2
forks
1,214
days
566
days
566
days
54
total PRs
0
open PRs
1
closed PRs
53
merged PRs
10
total issues
2
open issues
8
closed issues
2
commits

Latest Version

README file from

Github

Obsidian Reading Comments

Plugin allows to create inline html comments while reading markdown notes in Obsidian. Also native %%comments%% supported. Comments could be grouped hierarchically by tags. After commenting job done and finalized, original note with internal links to comments note (in plain obsidian markdown, clean from HTML formatting) could be extracted for integration with rest of the vault.

Obsidian forum thread

Readme на русском

Usage

Insert a comment

Select text in editor, which you want to comment. Open command panel and type Add reading comment for selection ,then press Enter .

It's recommended to assign hotkey for this command panel action.

You can use hierarchical Parent/Child tags in "data-tags" field.

Open comments panel

Open command panel and type Reading Comments Panel.

Open command panel and type Extract original note with links to comments note.

Features

  • Tag comments hierarchically: Parent/Child/Etc tags supported and grouped by parent in the panel
  • Search in comments
  • Navigate to particular comment by click. Native %%comments%% supported.
  • Extract original note with links to comments note
  • Remove selected comment by hotkey
  • Toggle selected comment to block/inline by hotkey
  • Hide comment until commented text body is hovered
  • Pick comment color from settings
  • Dark and light theme support

Showcase

Buy me a coffee (or just star this repo:)

If you enjoy this plugin, feel free to buy me a coffee.

Create comment showcase

Create comment

Search comments in the panel showcase

Search comments

Extract original note

Installation

  • Install from obsidian community plugins store
  • Or use obsidian BRAT plugin with github link to this repo
  • Or download latest release file from Release page and put files to your vault/.obsidian/plugins folder. Community plugins should be enabled.

Customization How To

How to add icon next to commented text

  • Follow obsidian CSS snippets guide to add custom css for vault
  • Pick icon and copy svg from Lucide or any other source
  • Add following custom css:
.ob-html-comment:after {
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXN0aWNreS1ub3RlIj48cGF0aCBkPSJNMTUuNSAzSDVhMiAyIDAgMCAwLTIgMnYxNGMwIDEuMS45IDIgMiAyaDE0YTIgMiAwIDAgMCAyLTJWOC41TDE1LjUgM1oiLz48cGF0aCBkPSJNMTUgM3Y2aDYiLz48L3N2Zz4=");
    content: "";
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    background-color: white;
    display: inline-block;
}
  • Play with width, height and background-color parameters

Implementation details for DIY plugin modifications and pull requests

Comments logic

Most important logic located in src/comments/ConstantsAndUtils.ts When Add reading comment for selection executed, editor selection replaced with the following code:

<div class="ob-html-comment" id="comment-${commentId}" data-tags="[comment,]"><span class="ob-html-comment-body">CommentPlaceholder</span>${htmlEscapedSelection}</div>

Plugin parses text for comments and organizes them in panel hierarchically by tags.

Display logic

All styles and display logic are located in styles.css and src/HtmlCommentsTemplate.vue files.

Thanks

Implementation has been based on the Obsidian Quiet Outline plugin. Basic idea has been taken from the Comments plugin.

Possible evolutioin directions

  • Multiline comments support (refactoring line by line parsing to multiline).
  • Tab for comments in whole vault/folder
  • Tags renaming in the tree, drag&drop, etc tags and comments management

To introduce "nice to have" features, create issue here or better donate with "buy me a coffee" website

"Nice to have" features

  • tags and comments ordering algo in settings
  • customize tags placeholder(for now "comment,")

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Templater
6 years ago by SilentVoid
A template plugin for obsidian
Tag Wrangler
5 years ago by PJ Eby
Rename, merge, toggle, and search tags from the Obsidian tag pane
Colored Tags
3 years ago by Pavel Frankov
Colorizes tags in different colors.
Table Extended
5 years ago by AidenLx
Extend basic table in Obsidian with MultiMarkdown table syntax
Collapse All
5 years ago by Nathonius
Whisper
3 years ago by Nik Danilov
Speech-to-text in Obsidian using Whisper
Colored Tags Wrangler
3 years ago by AndreasSasDev
Obsidian Plugin : Assign colors to tags. Has integrations with other plugins, like Kanban.
HiNote
a year ago by Kai
Add comments to highlighted notes, use AI for thinking, and flashcards for memory.
GPT-3 Notes
3 years ago by micahke
An Obsidian plugin to generate notes based on GP3 output.
Frontmatter Tag Sugest
4 years ago by Jonathan Miller
Autocompletes tags in Obsidian YAML frontmatter. No more deleting #!
Sidebar Highlights
a year ago by trevware
ZettelFlow
3 years ago by RafaelGB
ZettelFlow is a plugin for Obsidian that helps you to create and manage your notes in a Zettelkasten way.
Multi Tag
3 years ago by fez-github
Obsidian plugin that allows the user to add a tag to all files in a folder. Not in active development. Now working on Multi-Properties, which covers most of this plugin's functionality.
Nested tags graph
3 years ago by drpilman
A small plugin for Obsidian that links nested tags in graph view
Tags Overview
3 years ago by Christian Wannerstedt
Obsidian plugin which adds an extended tags panel where tagged files can be overviewed, filtered and accessed in an easy way.
HTML Tags Autocomplete
5 years ago by bicarlsen
Autocomplete HTML formatting tags.
AutoMOC
4 years ago by Diego Alcantara
Enhanced Annotations
2 years ago by ycnmhd
Mindmap
2 years ago by YunXiaoYi
An Obsidian plugin for creating Mindmaps.
Tags Routes
2 years ago by Ken
This is a plugin for obsidian, to visualize files and tags as nodes in 3D graph.
Auto Classifier
3 years ago by Hyeonseo Nam
Auto classification plugin for Obsidian using ChatGPT.
Canvas Filter
3 years ago by Ivan Koshelev
Obsidian Canvas plugin that let's you show only pages / arrows with specific tags / colors / connections.
Quick Tagger
3 years ago by Gorkycreator
Quick tagger for Obsidian.md
Tag Page
3 years ago by Matthew Sumpter
An Obsidian plugin to create and manage dedicated Markdown pages for tags, with features to automatically populate and refresh content based on user-defined settings.
Smart Title
3 years ago by magooup
obsidian-plugin-smart-title
Ghost Fade Focus
5 years ago by Sami Korpela
Ghost Fade Focus plugin for Obsidian
Pluck
5 years ago by Kevin Barrett
Quickly create notes in Obsidian from web pages.
Insta TOC
2 years ago by Nick C.
Generate, update, and maintain a table of contents for your notes while typing in real time.
HTML Tabs
3 years ago by Patrick Tournet
Obsidian plugin allowing the creation and rendering of Tabs and tab panels in your notes.
LLM Summary
2 years ago by QSun
wip
Achievements
4 years ago by Zachatoo
Add achievements to Obsidian to help guide the user to build good habits in Obsidian.
Media Companion
a year ago by Nick de Bruin
Base Tag Renderer
3 years ago by Darren Kuro
A lightweight obsidian plugin to render the basename of tags in preview mode.
New Bullet With Time
4 years ago by Boninall
A plugin allows you to auto add current time to new bullet line.
QuickLink
9 months ago by Jamba Hailar
On obsidian, use @ to quickly link files
Post Webhook
2 years ago by MasterB1234
A plugin for Obsidian that sends notes to Webhook endpoints (e.g. n8n, Make.com, Zapier) for streamlined automation and integration.
Metadata Auto Classifier
2 years ago by Beomsu Koh
AI-powered Obsidian plugin that automatically classifies and generates metadata (tags, frontmatter) for your notes.
Tag Buddy
3 years ago by David Fasullo
Unlock powerful tag editing features in Reading Mode. Add, remove and edit tags across your vault. Use tag inboxes to level up any workflow with a powerful idea assembly line.
FuzzyTag
3 years ago by Adrian
Liquid Templates
5 years ago by Diomede Tripicchio
Define your templates with LiquidJS tags support
Better Comment Toggle
3 years ago by Gino Valente
Tag Group Manager
7 months ago by Stargazer-cc
Tag Group Manager is a plugin designed for Obsidian that helps manage tag groups and quickly insert tags.
SideNote
7 months ago by mofukuru
Obsidian plugin: Add comment on the part of sentence and refer in comment view.
Plugins Annotations
2 years ago by Andrea Alberti
Obsidian plugin that allows adding personal comments to each installed plugin.
Callout Toggles
2 years ago by Aly Thobani
An Obsidian plugin to quickly add, change, or remove callout wrappers in your notes.
EmoTagsTitler
3 years ago by Cyfine
Testing Vault
3 years ago by Michael Pedersen
Related Notes by Tag
a year ago by Chris Howard
displays notes that share tags with your currently active note
Index Notes
2 years ago by Alejandro Daniel Noel
Plugin that automatically generates index blocks based on tags
Generate Timeline
a year ago by Shanshuimei
An obsidian plugin to generate timelines from tags, folders, files or metadata automatically. 根据标签,文件夹,文件或者属性自动生成时间轴的插件。
Tag Breakdown Generator
3 years ago by Hananoshika Yomaru
Break down nested tags into multiple parent tags
AI bot
2 years ago by kuzzh
The AI Bot Plugin is a powerful tool designed to enhance your note-editing experience in Obsidian by leveraging the capabilities of AI. This plugin allows you to interact with an AI assistant directly within Obsidian, making it easier to generate, edit, and organize your notes with intelligent suggestions and automated tasks.
Note 2 Tag Generator
2 years ago by Augustin
Editor Autofocus
3 years ago by Mgussekloo
Comments
a year ago by Jasper Surmont
Tag Formatter
2 years ago by snsvrno
Configurable Obsidian plugin that hides parent tags.
Folder by tags distributor
2 years ago by RevoTale
Automatically group Obsidian notes into folder by tags specified in note.
Masking Type
2 years ago by Telehakke
Obsidian plugin.
Auto Bullet
a year ago by takitsuba
Consecutive Lists
2 years ago by Josh Tucker
Tag Links
2 years ago by Zacchary Dempsey-Plante
A plugin for Obsidian that allows tags to be opened as links using a hotkey.
tidit
a year ago by codingthings.com
tidit is an Obsidian - https://obsidian.md - plugin that adds timestamps to your document as you type — when you want it, how you want it, where you want it.
Current File Tags
a year ago by Trung Tran
Relative Timestamps
2 years ago by Charles Young
BookNav
2 years ago by jemberton
A plugin for ObsidianMD that enables book style navigation links in a note.
Varinote
a year ago by Giorgos Sarigiannidis
A plugin for Obsidian that allows you to add variables in Templates and set their values during the Note creation.
Private Mode
a year ago by markusmo3
Auto Close Tags
a year ago by k0src
Obsidian MD plugin to auto-close HTML tags.
Trakt.tv Sync
2 years ago by Nick Felker
Sync Trakt checkins to Obsidian file
Custom Comments
9 months ago by Jack Chronicle
Adds a method to create custom methods to enclose comments
Note Reviewer
2 years ago by Travis Linkey
An obsidian plugin to help review notes that have been taken
Tag Timer
6 months ago by quantavil
The Tag Timer is a versatile plugin for Obsidian that allows you to seamlessly track the time you spend on specific tasks or sections within your notes.
Time Inserter
8 months ago by heycalmdown
Obsidian plugin to insert current time at cursor position with exact or rounded formats
Bottom to Top
2 years ago by Henry Gustafson
SafeLearn Formatter
9 months ago by UnterrainerInformatik
A community plugin for Obsidian, that offers visual aids for the SafeLearn-specific tags.