Text Bookmarks

approvedunreviewed

by laznology

Bookmark arbitrary text selections and jump back to them.

↓ 121 downloadsUpdated 1mo ago0BSD

Text Bookmarks

Bookmark any text selection in Obsidian and jump back to it.

Text bookmarks sidebar with two passages highlighted in the note

Obsidian's built-in bookmarks mark whole files, headings, or blocks. This plugin bookmarks any part of a note — a sentence or a few paragraphs — and keeps it highlighted so you can find it again.

Features

  • Bookmark a selection — from the command palette, or right-click → Bookmark text.
  • Sidebar panel — every bookmark with title, snippet, and file name.
  • Instant search — filters title, text, file name, and group.
  • Persistent highlight — bookmarked text is highlighted in the editor and in reading view.
  • Jump back — one click opens the note and selects the text. If the note was edited since, it finds the nearest matching occurrence.
  • Groups — one level of grouping, shown as collapsible sections.
  • Rename, copy, delete — from the right-click menu.

Searching bookmarks by text

Usage

  1. Select text in a note.
  2. Run Bookmark selection from the command palette, or right-click → Bookmark text.
  3. Open the panel from the ribbon icon or the Open bookmarks command.
  4. Type to filter, then click a bookmark to jump to it.

Right-click a bookmark to Rename, Copy text, Set group…, or Delete.

Notes

  • Desktop only.
  • Everything is stored locally in the plugin's data.json. No network requests.

Development

npm install
npm run build   # type-check + bundle to main.js
npm test        # position-resolution checks
npm run e2e     # bundle the headless UI harness

e2e/ renders the real sidebar view against a small stub of the Obsidian API in headless Chrome, and asserts list order, grouping, tooltips, search, and the empty state. The screenshots above are generated from that harness, so they always match the shipped view code.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.