README file from
GithubText Bookmarks
Bookmark any text selection in Obsidian and jump back to it.

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.

Usage
- Select text in a note.
- Run Bookmark selection from the command palette, or right-click → Bookmark text.
- Open the panel from the ribbon icon or the Open bookmarks command.
- 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.