trevware37k downloadsView and manage text highlights, comments on highlights, native comments, and collections for your highlights.
Collect every highlight, comment and task in your vault into one sidebar, then find your way back to them. It works with Obsidian's own markdown: highlights are ==text==, comments are footnotes, and nothing is stored in a format only this plugin can read.
Sidebar Highlights is free, and built in my spare time.
If it earns a place in your vault, buying me a coffee keeps it going.
Select text and choose Create highlight from the right-click menu, or run it from the command palette and give it a hotkey. Typing the syntax by hand works just as well.
| Syntax | Notes |
|---|---|
==text== |
Standard markdown highlight |
<mark>text</mark> |
Including the inline-style and CSS-class output of Highlightr |
<font color="#835cf5">text</font> |
Hex, shorthand hex and named colors |
<span style="background:yellow">text</span> |
Background color is read from the style |
%%text%% |
A native Obsidian comment, shown in the sidebar in its own right |
Hover a highlight in the sidebar to reveal its color picker. Your own names for the five palette colors live in Settings → Color names, and those names are what the color filter shows.
Comments are ordinary Obsidian footnotes, so they survive without this plugin installed.
==Standard comment==[^1]
[^1]: Kept out of the way at the bottom of the note
==Inline comment==^[Written right where you are]
==Both at once==[^1]^[and as many as you like]
%% A native comment, standing on its own %%
Settings → Comments chooses which style the plugin writes by default, and whether deleting a highlight takes its comments with it.
Five tabs, each remembering its own filters, grouping and sort:
Clicking anything takes you to it, in Editing or Reading view. Follow editor scroll, in the overflow menu, works the other way round: the sidebar tracks the highlight nearest what you're reading.
The search box takes text, tags, collections and boolean logic:
| Query | Finds |
|---|---|
onboarding |
Text in the highlight, or in its note's path |
#important |
Highlights tagged #important |
@work |
Highlights in the "work" collection |
#urgent AND @project |
Both at once |
#bug OR #feature |
Either |
(#critical OR #high) AND security |
Grouped with parentheses |
-#archived |
Everything except that tag |
"Projects/Acme/reference" |
A quoted phrase, including a folder path |
Start typing # or @ for autocomplete, and use ↑↓ to pick.
The filter menu narrows what search alone can't:
Filters and search compose, and the filter button lights up whenever a filter is active, so a narrowed list is never a mystery.
Group by color, tag, folder, collection, note, comment count or creation date. Group headings fold away, and stay folded across restarts. Sort alphabetically, by source note, or by when a highlight or note was created, plus by priority and due date in the Tasks tab.
Collections gather related highlights from anywhere in the vault.
The Tasks tab collects every checkbox in the vault: - [ ], - [x], plus in-progress - [/], cancelled - [-] and question - [?].
Everything lives under Settings → Sidebar Highlights.
== out of the sidebarFrom Community Plugins: Settings → Community Plugins → Browse → search "Sidebar Highlights" → Install → Enable.
Manually: download main.js, manifest.json and styles.css from the latest release, drop them in .obsidian/plugins/sidebar-highlights/, and enable the plugin.
== in a DataviewJS block won't appearBugs and feature requests are welcome on GitHub Issues.
This plugin is free and always will be. It's built and maintained in my own time, and support is what makes that sustainable.
buymeacoffee.com/trevware
Starring the repo helps too, and costs nothing.