jepicaju862-lab2k downloadsSidebar annotation and commenting with text highlights, hover previews, Markdown comments, image support, sidebar management, export, and backup features.
A local, non-intrusive sidebar annotation plugin for Obsidian. Select text in a Markdown note, apply a visual mark, and attach standalone Markdown comments without inserting extra syntax into the original note.
Interface language: plugin commands, settings, and most interface text are currently in Simplified Chinese.
The four styles are visual choices only. Version 1.0.4 does not add semantic categories such as note, question, task, or warning, and it does not add a resolved state.
Comments can also be created from the context menu, command palette, or custom hotkeys.
| Action | Editing view | Reading view |
|---|---|---|
| Click a mark | Locate its sidebar card | Locate its sidebar card |
| Double-click a mark | Open the annotation editor | Open the annotation editor |
| Hover a mark | Show a compact hint | Preview content and quick actions |
| Modifier-click a link | Preserve editor behavior | Preserve normal link opening |
Opening an annotation from any entry point reuses the same editor window. Version 1.0.4 fixes the issue where a double-click could open editors for multiple annotations at once.
The dedicated Side Comments View follows the active Markdown note.
obsidian://sidenote jump link..docx with locatable annotations
preserved as native Word comments.Annotations are relocated using document positions, absolute offsets, selected text and its SHA-256 hash, heading paths, occurrence indexes, and surrounding context.
Once the plugin is available in the official Community Plugins directory:
main.jsmanifest.jsonstyles.css<vault>/.obsidian/plugins/side-comments-origin/
Ctrl/Cmd + Enter to save.Run one of these commands from the command palette:
Inside the view, click a card to locate its source text or double-click it to edit. Additional actions are available from the card menu.
Paste a screenshot or image with Ctrl+V / Cmd+V while the annotation editor
is focused. The image is saved to the configured attachment folder and linked
using Markdown syntax.
Use the export action in the sidebar to generate a Markdown summary containing the original quoted text, annotation content, and structured callouts.
| Key | Action |
|---|---|
Ctrl/Cmd + Enter |
Save the annotation |
Esc |
Close the editor |
← / → |
Move between visual styles |
Home / End |
Move to the first or last style |
| Key | Action |
|---|---|
Tab |
Focus cards and action buttons |
Enter / Space |
Locate the focused annotation |
F2 |
Edit the focused annotation |
↑ / ↓ |
Move through an action menu |
Home / End |
Move to the first or last menu item |
Esc |
Close the menu and return focus |
| Option | Description |
|---|---|
| Comment sort order | Sort by document position or creation time |
| Show annotation marks | Toggle marks in editing and reading views |
| Enable selection toolbar | Show quick actions after selecting text |
| Default color | Apply a color to newly created annotations |
| Mark opacity | Adjust visual mark opacity |
| Markdown backup folder | Defaults to side-note-comments |
| Attachments folder | Defaults to side-note-attachments |
| Annotation data folder | Defaults to side-note-data; reload after changing it |
| Create Markdown backup | Generate a manual annotation backup |
| Orphaned annotations | Inspect and remove annotations that cannot be located |
side-note-data by default.data.json.side-note-attachments by default.side-note-comments by default.markType is displayed as a highlight.data.json are migrated to per-note JSON files.Back up your vault, or at least the annotation data folder, before a major upgrade.
Yes. Marks are rendered in reading view. Click a mark to locate its sidebar card, double-click to edit, or hover to preview the annotation and quick actions.
Yes. Open the annotation editor from the text mark or sidebar card, then choose another visual style, preset color, or custom color.
Annotations are stored independently from Markdown. If the original text can no longer be found, the annotation becomes orphaned and can be removed from Settings.
This was caused by duplicate event handling and is fixed in v1.0.4. The plugin now keeps only one annotation editor open at a time.
By default, per-note JSON files are stored in side-note-data inside the vault.
The folder can be changed in Settings.
npm install
npm run build
The production build runs a TypeScript check and writes main.js to the
repository root.
Version 1.0.4 adds reading-view interaction, four visual mark styles, independent colors, the selection toolbar, a unified editor, sidebar workflow improvements, Word export, Markdown backups, attachments, precise backlinks, mobile and accessibility fixes, and the multiple-editor fix.
See RELEASE_NOTES.md for the full change list.
side-note-data whenever possible.1094620986. The group communicates
in Simplified Chinese.GNU General Public License v3.0
This project was inspired by and references ideas from excellent open-source annotation and commenting plugins:
Thank you to the open-source community and every contributor who shared ideas, implementations, and user experience explorations.
1094620986