SideNote

by mofukuru
5
4
3
2
1
Score: 32/100

Description

Category: Note Enhancements

The SideNote plugin adds a focused way to write and manage comments without mixing them into your main text. It lets you select any portion of a note, attach a comment through a context menu or command and view all annotations in a separate pane that stays aligned with the active file. Each entry in the pane acts as a navigation point, instantly jumping you to the relevant section when clicked. You can edit or delete comments directly from this view and switch sorting modes depending on whether you want the flow of the document or the creation timeline.

Reviews

No reviews yet.

Stats

22
stars
3,426
downloads
4
forks
159
days
62
days
62
days
5
total PRs
0
open PRs
0
closed PRs
5
merged PRs
19
total issues
19
open issues
0
closed issues
0
commits

Latest Version

2 months ago

Changelog

What's Changed

New Contributors

Full Changelog: https://github.com/mofukuru/SideNote/compare/1.0.4...1.0.5

README file from

Github

SideNote

SideNote is a plugin for Obsidian that allows you to add comments to your notes. These comments are displayed in a dedicated side pane, making it easy to review and navigate annotations without cluttering the main text. Comments are highlighted directly in the editor for quick visual reference.

Features

Core Features

  • Add Comment to Selection: Easily add comments to selected text within your Markdown notes.
  • Dual View Modes:
    • Sidebar Mode: Open comments in the right sidebar for persistent viewing
    • Split View Mode: Open comments in a split pane beside your note
  • Visual Highlights: Commented text is automatically highlighted in the editor (yellow background with underline)
  • Auto-Tracking: Comments automatically follow their text as you edit your notes using hash-based matching
  • Click to Navigate:
    • Click any comment in the side pane to jump to its location in the editor
    • Click any highlighted text in the editor to open the sidebar and highlight the corresponding comment
  • Edit and Delete: Manage your comments directly from the side pane
  • Keyboard Shortcuts: Use Cmd/Ctrl + Enter to save and close the comment modal, Esc to cancel, or click outside the modal to dismiss
  • Flexible Sorting: Sort comments by their position in the file or by their creation timestamp
  • Orphaned Comment Management: When the original text is deleted, comments are marked as "orphaned" and can be managed separately

Advanced Features

  • Hash-Based Text Tracking: Comments use SHA256 hashes to track text accurately, even when multiple instances of the same text exist
  • 3-Stage Matching Strategy:
    1. Search near original coordinates with hash verification
    2. Search entire file by hash (finds text even if it moves significantly)
    3. Mark as orphaned if text is completely deleted
  • Proximity-Based Selection: When duplicate text exists, the system selects the match closest to the original position
  • Active File Auto-Update: When using sidebar mode, the comment view automatically updates as you switch between files
  • Orphaned Comment Highlighting: Deleted text locations are marked with a single red character (can be toggled off in settings)
  • Optional Markdown Storage: Store comments in per-note sidenote markdown files located in a configurable folder (defaults to side-note-comments)

How to Use

Adding Comments

  1. Select text in the editor (minimum 3 characters recommended, 10+ characters for best accuracy)
  2. Right-click the selected text and choose "Add comment to selection"
    • Or use the command palette (Cmd/Ctrl + P) → "Side Note: Add comment to selection"
  3. Enter your comment in the modal that appears
    • Press Cmd/Ctrl + Enter to save and close
    • Press Esc or click outside the modal to cancel
  4. The text will be automatically highlighted in yellow with an underline

Viewing Comments

Option 1: Sidebar Mode

  • Click the message-square icon in the ribbon
  • Or run "Side Note: Open in Sidebar" from the command palette
  • The view stays in the sidebar and automatically updates as you switch files

Option 2: Split View Mode

  • Run "Side Note: Open in Split View" from the command palette
  • Opens a new pane to the right, displaying comments for the current file

Navigating Comments

  • Click any comment in the side pane to jump to its location in the editor
  • Click any highlighted text in the editor to open the sidebar (if not already open) and highlight the corresponding comment
  • Comments are highlighted directly in the text for easy visual reference

Managing Comments

  • Edit: Click the pencil icon next to any comment
  • Delete: Click the trash icon next to any comment
  • Sort: Change sort order in Settings → Comment sort order (by position or timestamp)

Settings

Access settings via Settings → Side Note:

  • Comment Sort Order: Choose between position in file or timestamp
  • Show Highlights in Editor: Toggle visual highlights on/off
  • Store Comments as Markdown Files: Save comments into per-note sidenote markdown files
  • Markdown Comments Folder: Configure the folder (relative to vault) for sidenote markdown files
  • Orphaned Comments: View count and delete orphaned comments in bulk

Mobile Support

SideNote v1.0.3 and later includes full mobile support for both iOS (Obsidian mobile app) and Android devices!

Mobile Features

  • Responsive Design: The comment modal automatically adapts to mobile screen sizes
  • Touch-Friendly Buttons: All buttons have proper touch target sizes (44px minimum) for easy tapping
  • Mobile Keyboard Optimization: Text input is optimized for mobile keyboards with 16px font size to prevent auto-zoom on iOS
  • Improved Focus Management: Better focus handling for seamless modal interaction on touch devices
  • Text Selection Support: Full support for selecting and commenting on text in mobile editors

How to Add Comments on Mobile

  1. Open a note in edit mode
  2. Long-press the text you want to comment on and drag to select it
    • Start by long-pressing at the beginning of the text and drag to the end
  3. Tap the message icon (💬) in the editor toolbar at the top
    • If you don't see the icon, swipe left or right on the toolbar to find it
  4. Enter your comment in the modal that appears
  5. Tap the Add button to save

How to View Comments on Mobile

Open Comments in Sidebar

iOS (Obsidian iOS app):

  1. Tap the hamburger menu (≡) at the top left
  2. Swipe right or run the "Open in Sidebar" command
  3. Comments list will appear in the sidebar

Android (Obsidian Android app):

  1. Tap the menu icon (≡) at the top of the screen
  2. Run the "Side Note: Open in Sidebar" command (search for it)
  3. Comments list will appear in the right panel
Open from Command Palette
  1. Tap the menu icon (≡ or ⋮) at the top of the screen
  2. Open the command palette
  3. Search for "side note"
  4. Tap "Side Note: Open in Sidebar"
  5. The sidebar will open showing all comments for the current note

Interacting with Comments

  • Tap any comment in the sidebar to jump to that location in the editor
  • Tap the edit (pencil) icon next to a comment to edit it
  • Tap the delete (trash) icon next to a comment to delete it

Troubleshooting Mobile Issues

  • Message icon not visible in toolbar: Swipe left or right on the toolbar to find it. You can customize the mobile toolbar in Obsidian's settings.
  • "Add" button not responding: Make sure to tap the button firmly. Verify that you've entered text in the comment field (empty comments cannot be saved).
  • Text selection difficult: Try selecting a longer text span (10+ characters) for more reliable matching.
  • Sidebar won't display: Open the command palette from the menu (≡) at the top and run "Side Note: Open in Sidebar".

Important Notes

Text Tracking Limitations

Short Text (< 10 characters): Comments on very short text may become unstable or jump to nearby identical text. For best results, select at least 10 characters when commenting.

Duplicate Text: When identical text appears multiple times, the system uses the closest match to the original position. However, extensive edits may occasionally cause comments to match the wrong instance.

Future Enhancements

Highlight Variations: Plans to add customizable highlight colors and styles for different comment types.

Richer Editing UI: Build a richer Markdown editing experience (shortcuts/preview) on top of the new markdown storage option.

Technical Details

  • Comments are stored in data.json with SHA256 hashes of the selected text
  • Hash-based matching ensures accurate text tracking even after file edits
  • Comments marked as "orphaned" when original text is deleted (stored but inactive)
  • Uses CodeMirror 6 decorations for in-editor highlighting

Version History

1.0.5

  • Fixed duplicate comment creation (issue #16, #18, #10)
    • Hardened modal submit handling to prevent double execution from click/touch events
    • Added submit re-entrancy guard and debounce to block rapid repeat submissions
    • Migrated comment identity from timestamp to stable UUID (id) for reliable targeting
    • Switched markdown markers to id-based format with legacy timestamp fallback
  • Fixed orphaned comments not recovering (issue #15)
    • Orphaned comments are now re-checked on every file update and automatically recover if the text is found again
  • Added "View all comments" command
    • New command in the command palette to open a cross-file view showing all comments grouped by note

1.0.4

  • Fixed coordinate drift issue on mobile devices
    • Implemented dynamic text search for highlights to always display at accurate positions during editing
    • Resolved highlight position drift on Android/iOS when editing lines
    • Prevented stale cached coordinates by searching for text on every highlight render
  • Fixed orphaned issue when clicking comments
    • Resolved issue where clicking comments triggered unnecessary coordinate updates that marked comments as orphaned
    • Removed coordinate update logic from click handlers since dynamic search eliminates the need for updates
  • Added confirmation modal for deletion
    • Added confirmation modal when pressing the delete button to prevent accidental deletions
    • Provides "Cancel" and "Delete" options for safe deletion operations

1.0.3

  • Added full mobile support for iOS and Android devices
  • Added comment button to mobile editor toolbar (message icon) for easy access
  • Improved comment modal with better focus management
  • Added mobile-responsive CSS for touch-friendly interfaces
  • Enhanced text selection validation for better error messages
  • Optimized keyboard handling for mobile devices
  • Increased button touch target sizes (44px) for better mobile usability
  • Fixed modal scrolling and visibility issues on mobile
  • Added font-size optimization (16px) to prevent iOS auto-zoom

1.0.2

  • Added click handler on highlighted text to open sidebar and navigate to comment
  • Added keyboard shortcuts to comment modal:
    • Cmd/Ctrl + Enter to save and close
    • Esc to cancel
    • Click outside modal to dismiss
  • Fixed bug where highlights didn't appear immediately after adding a comment
  • Added visual feedback when clicking on highlights (comment is highlighted in sidebar)
  • Added optional markdown storage for comments (per-note sidenote files in configurable folder)
  • Added inline→markdown migration when enabling markdown storage
  • Renamed sidenote files automatically on note rename and kept references in sync
  • Fixed highlight positioning when multiple editors are open for different files

1.0.1

  • Added hash-based text tracking for robust comment anchoring
  • Implemented 3-stage matching strategy (hash+proximity → full-file hash → orphaned)
  • Added in-editor highlighting with CodeMirror 6 decorations
  • Added orphaned comment detection and management
  • Added dual view modes (Sidebar and Split View)
  • Added active-leaf-change tracking for auto-update
  • Comprehensive README documentation with limitation warnings

1.0.0

  • Initial release
  • Basic comment functionality
  • Add, edit, and delete comments
  • Side pane view for comment display

License

This plugin is licensed under the MIT License.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Advanced Random Note
3 years ago by Karsten Finderup Pedersen
Create commands from custom queries to open random notes
Advanced Tables
6 years ago by Tony Grosinger
Improved table navigation, formatting, and manipulation in Obsidian.md
Anchor Link Display Text
a year ago by Robert C Arsenault
An Obsidian plugin that makes anchor links look nicer by automatically populating display text.
Annotate Audio
a year ago by VidE
Annotator
5 years ago by Elias Sundqvist
A plugin for reading and annotating PDFs and EPUBs in obsidian.
Another Quick Switcher
5 years ago by tadashi-aikawa
This is an Obsidian plugin which is another choice of Quick switcher.
Another Sticky Headings
2 years ago by Zhou Hua
Arrows
2 years ago by artisticat
Draw arrows across different parts of your notes, similar to on paper
Autofit Tabs
a year ago by Bradley Wyatt
Obsidian Plugin that automatically adjusts tab header widths in real-time to perfectly fit each tab's title content while maintaining a clean, seamless interface that prevents awkward text truncation and ensures optimal readability of your document titles.
Automatically reveal active file
5 years ago by Matt Sessions
Obsidian plugin to reveal the active file automatically when you open a file
Backlink Full Path
a year ago by mnaoumov
Obsidian plugin that shows the backlink's full path in the backlinks panel.
Better Comment Toggle
3 years ago by Gino Valente
Better Link Clicker
4 months ago by Eniverz
An Obsidian plugin that modifies the default link click event.
BlazeJump
a year ago by henryco
Plugin for Obsidian that makes text navigation blazingly fast.
BookFusion
2 years ago by BookFusion
BookFusion Obsidian Plugin
Bookmarks Caller
2 years ago by namikaze-40p
This is an Obsidian plugin which can easily open bookmarks.
BookNav
2 years ago by jemberton
A plugin for ObsidianMD that enables book style navigation links in a note.
Breadcrumbs
5 years ago by SkepticMystic
Add typed-links to your Obsidian notes
Canvas Link to Group
7 months ago by TGRRRR
Plugin for Obsidian Canvas enabling direct links to specific groups within canvas files for improved navigation
Canvas minimap
2 years ago by ifree
Obsidian canvas minimap
Card View Switcher
4 years ago by qawatake
An Obsidian plugin to provide a quick switcher with card view
Click Hint
a year ago by kbwo
Comments
a year ago by Jasper Surmont
Core Search Assistant
4 years ago by qawatake
An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
Crafty
2 years ago by liolle
Add tooltip to your obsidian canvas's nodes and navigation between nodes
Crumbs
3 years ago by Tony Grosinger
Breadcrumb navigation in Obsidian.md
Cubox
a year ago by delphi-2015
Cubox Official Obsidian Plugin
Current File Tags
a year ago by Trung Tran
Cursor Jump
2 years ago by Sangwon Jung
Cursor Position History
a year ago by Florian Gubler
A Plugin to remember (and make accessible) the cursor history in Obsidian. Both within a file and across files.
Cursor Position on Title Enter
a year ago by Por Chainarong Tangsurakit
Obsidian Plugin: Set the cursor position after pressing Enter on the note title.
Custom Comments
8 months ago by Jack Chronicle
Adds a method to create custom methods to enclose comments
Custom Slides
9 months ago by David V. Kimball
Customize Obsidian's Slides core plugin's navigation, styles, and behavior.
Cycle In Sidebar
3 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Daily Note Navbar
2 years ago by Karsten Finderup Pedersen
Adds a daily note navbar to quickly navigate between sequential daily notes in Obsidian.
Daily Notes Tweaks
6 months ago by René Coignard
Open a random daily note and automatically switch past daily notes to reading mode.
Drag To Scroll
8 months ago by Constantine Sazonov
Adds drag-to-scroll functionality to Obsidian. Hold mouse button and drag - now you can scroll like on touch device!
Dynamic Outline
a year ago by theopavlove
Adds a customizable GitHub-like floating table of contents to Obsidian.
Enhanced Annotations
2 years ago by ycnmhd
Extract PDF Annotations
4 years ago by Franz Achermann
This is a plugin for https://obsidian.md. It extracts Annotations from PDF Files.
FastForwardLink
a year ago by Idan Liberman
FastForwardLink Obsidian.md Plugin
Feedly Annotations Sync
a year ago by Nick Felker
Download my Feedly annotations
Floating Headings
3 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
Floating Search
3 years ago by Boninall
A plugin for searching text by using Obsidian default search view.
Folder Focus Mode
4 years ago by grochowski
Focus file explorer on chosen folder and its files and subdirectories, while hiding all the other elements.
Folder overview
a year ago by Lost Paul
Provides a dynamic overview of your vault or folders in the format of a code block.
Folder Tabulation
a year ago by SpeedaRJ
An open source plugin for obsidian that let's you treverse local folder structure via keybindings and commands.
FolderFile Splitter
a year ago by Xu Quan
Go To Heading
3 years ago by join
Quickly navigate between your document's headings in Obsidian
Go to Line
5 years ago by phibr0
Headings in Explorer
2 years ago by Patrick Chiang
This Obsidian plugin makes headings first class concepts in the file explorer and consolidates navigation to a single panel.
Highlight active folder section
2 years ago by Lukas Collier
Gives the folder section with the active note a customizable background color and more.
HiNote
a year ago by Kai
Add comments to highlighted notes, use AI for thinking, and flashcards for memory.
HOME key
8 months ago by shichishima
Obsidian Plugin to move cursor to beginning of text, considering Markdown heading characters.
Hypothes.is
5 years ago by weichenw
An Obsidian.md plugin that syncs highlights from Hypothesis.
ibook
3 years ago by bingryan
export mac ibook annotations/hightlights to obsidian vault
Image Converter
3 years ago by xRyul
⚡️ Convert, compress, resize, annotate, markup, draw, crop, rotate, flip, align images directly in Obsidian. Drag-resize, rename with variables, batch process. WEBP, JPG, PNG, HEIC, TIF.
Inline Local Graph
3 months ago by TKOxff
Inline Local Graph of Obsidian
Insert Heading Link
4 years ago by Signynt
Add a Link to a Heading.
Interlinear Glossing
3 years ago by Mijyuoon
An Obsidian plugin for interlinear glosses used in linguistics texts.
Last Edit Location
4 months ago by Kyoungdeuk
When opening a note, put the cursor at the last edit location.
Lemons Search
2 years ago by Moritz Jung
An Obsidian plugin that offers a fast fuzzy finder based quick switcher with preview.
Link Navigation
2 years ago by xRyul
Navigate between incoming links (inlinks), outgoing links (outlinks) N levels deep. Links from Canvas are also supported.
Link Range
3 years ago by Ryan Mellmer
Add ranged link support to Obsidian
macOS Keyboard Navigation
5 years ago by ryanjamurphy
Mark Open Files
a year ago by Michael Schrauzer
Adds a marker to all the File Explorer items that are currently open in the Obsidian workspace.
Markmind
5 years ago by Mark
A mind map, outline for obsidian,It support mobile and desktop
Media Slider
a year ago by Aditya Amatya
An obsidian plugin that helps to make slider for images, audios, videos, pdfs, markdown, etc in obsidian notes.
Metafolders
2 years ago by Makary Sharoyan
An Obsidian plugin for multidimensional note navigation
Mobile Sidebar Notes
6 months ago by Chris Kephart
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Mouse Navigation
2 years ago by HoBeomJeon
Nav Link Header
2 years ago by ahts4962
Display navigation links at the top of the notes in Obsidian
Neighbouring Files
2 years ago by Fabian Untermoser
Obsidian Plugin to navigate to the next and previous file in the current directory
Next Link
3 years ago by Juan Luque
Next TOC
4 months ago by RavenHogWarts
Floating TOC panel
No Dupe Leaves
4 years ago by Simon Cambier
Automatically switch the focus to open notes instead of reopening them
Note Annotations
a year ago by Jan Beck
Note Definitions
2 years ago by Dominic Let
Obsidian plugin for seamless viewing of personal definitions
Note Minimap
8 months ago by Yair Segel
Add a minimap to your Obsidian notes.
Notebook Navigator
8 months ago by Johan Sanneblad
Replace the default file explorer in Obsidian with a clean two-pane interface featuring folder tree, tag browsing, file previews, keyboard navigation, drag-and-drop, pinned notes, and customizable display options.
obsidian floating toc
4 years ago by curtgrimes modified by Cuman
Onyx Boox Annotation & Highlight Extractor
4 years ago by Akos Balasko
This tool extracts the highlights and the annotations from OnyxBoox Reading Notes txt files, and converts them to linked zettelkasten literature and permanent notes
Open Plugin Settings
3 years ago by Mara-Li
Create a command that open the settings tabs of a registered plugin (because I was bored to open the parameters).
Open Related Url
4 years ago by Dan Pickett
Open Tab Settings
a year ago by jesse-r-s-hines
Obsidian plugin that adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more
Pane Relief
5 years ago by PJ Eby
Obsidian plugin for per-pane history, pane movement/navigation hotkeys, and more
PDF Highlights
5 years ago by Alexis Rondeau
Extract highlights, underlines and annotations from your PDFs into Obsidian
PDF Writer
a year ago by Jobelin Kom
Obsidian plugin To write and fill a PDF
PDF++
2 years ago by Ryota Ushio
PDF++: the most Obsidian-native PDF annotation & viewing tool ever. Comes with optional Vim keybindings.
Plugins Annotations
2 years ago by Andrea Alberti
Obsidian plugin that allows adding personal comments to each installed plugin.
Potato Indexer
3 years ago by LoyalPotato
Obsidian plugin to generate index based on your selection
Previous Daily Note
a year ago by Marcos Talau
Plugin for Obsidian that opens the previous daily note
Quick Explorer
5 years ago by PJ Eby
Perform file explorer operations (and see your current file path) from the Obsidian.md title bar
Quick Nav
a year ago by exoticknight
Enhance your editing experience by unleashing the hidden power of shortcuts.
Quick Preview
2 years ago by Ryota Ushio
An Obsidian plugin to quickly preview a suggestion before selecting it in link suggestions & quick switcher.
Quick snippets and navigation
4 years ago by @aciq
Quick snippets and navigation for Obsidian
Quickly
3 years ago by Sparsh Yadav
Quick capture to obsidian note
Raindrop Highlights
4 years ago by kaiiiz
An Obsidian.md plugin that syncs highlights from Raindrop.
Readeck Importer
a year ago by Makebit
Import bookmarks from Readeck to Obsidian
Reading comments
3 years ago by BumbrT
Reading comments, for consuming books or large articles in markdown with https://obsidian.md/.
Reading View j/k Scroll
a year ago by Lukas Korotaj
Scroll in preview mode with j/k keys. Scroll to top with gg and to bottom with G.
Recent Tab Switcher
2 years ago by Samuel Ang
Recent Tab Switcher Plugin for Obsidian.
Remember Scrollposition
4 months ago by s-blu
A plugin that saves the scroll position for each note to return you to where you left off
Reveal Active File Button
4 years ago by Clare Macrae
Obsidian plugin to add a button to the top of the Obsidian File Explorer, to reveal the active file.
Reveal Folded
a year ago by d7sd6u
Adds a command that reveals current file while collapsing every other tree item
Scroll Offset
4 years ago by Lijyze
Scroll Offset for Obsidian
Scrolls To Nav Top
9 months ago by mario
Simply scrolls to nav top
Search Everywhere
4 years ago by Mom0
Obsidian Search Everywhere Plugin
ShaahMaat-md
a year ago by Mihail Kovachev
Sidebar Highlights
10 months ago by trevware
Slide Note
3 years ago by Jinyan Xu
Smooth Navigator
a year ago by Michael Schrauzer
Smoothly cycle through open files and splits in Obsidian via the keyboard.
Tab File Path
8 months ago by John Burnett
Tab Navigator
2 years ago by o02c
obsidian-tab-switcher
Tab Rotator
3 years ago by Steven Jin
Obsidian Rotate opened tabs with a specified time interval
Tab Selector
2 years ago by namikaze-40p
This is an Obsidian plugin which can quickly switch tabs in various ways.
Tag Index
10 months ago by wenlzhang
An Obsidian plugin that creates a curated list of important tags to serve as meaningful entry points to your knowledge base.
Tag Tactician
a year ago by Scott Tomaszewski
Timestamp Notes
4 years ago by Julian Grunauer
This plugin allows side-by-side notetaking with videos. Annotate your notes with timestamps to directly control the video and remember where each note comes from.
Tree Search
a year ago by catacgc
URL Display
3 years ago by Stephanie Lin
Extract and display external URLs of the note in Obsidian.
Vault Name
2 years ago by @gapmiss
An Obsidian.md plugin for customizing and displaying the vault name (title) in the side navigation file explorer, similar to pre 1.6.0 versions of Obsidian.
Vertical Tabs
2 years ago by oxdc
An Obsidian plugin that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.
VirtFolder
2 years ago by mr.grogrig
Creating a hierarchical structure like Luhmann's Zettelkasten
Wheel Tab Switcher
a year ago by 22-2
Switch between Obsidian Tabs using your mouse wheel when hovering over tab headers.
Xournal++
2 years ago by Jon Jampen
Obsidian plugin that seamlessly integrates Xournal++ for handwritten notes and annotations.
Yesterday's note
a year ago by Trevor Tyler Lee
Obsidian plugin to open yesterday's daily note