Skip to content

Add Bookmarks#1555

Closed
ppdms wants to merge 1 commit intowindingwind:masterfrom
ppdms:master
Closed

Add Bookmarks#1555
ppdms wants to merge 1 commit intowindingwind:masterfrom
ppdms:master

Conversation

@ppdms
Copy link
Copy Markdown

@ppdms ppdms commented Mar 26, 2026

Zotero notably lacks bookmarking functionality for PDFs in its integrated reader.

With this pull request, zotero-better-notes gets the ability to create special annotations which are functionally equivalent to bookmarks. This includes:

  • a bookmark icon in the integrated PDF reader toolbar: no-fill if there's no bookmark for the current page, filled if there is. Clicking the no-fill icon will create a bookmark; clicking the filled icon will open the preexisting bookmark for the current page
  • a new note template, QuickBookmarkV2, which is used to generate the annotations
  • a new panel in the sidebar / context pane which is dedicated to showing bookmarks for the current PDF.

The bookmark creation flow looks like this:
Screenshot 2026-03-26 at 12 56 18
Screenshot 2026-03-26 at 12 56 23
Screenshot 2026-03-26 at 12 56 34
Screenshot 2026-03-26 at 12 56 38

Afterwards, the Bookmarks tab in the context pane:
image

And the annotations created attached to the PDF are:
image

Note that the annotations are created at 50% of the page's height, and outside of the page's rendered area, so that clicking the link to the annotation will open the linked page centered, without the annotation being visible.

This pull request constitutes a draft or proof of concept: I have been using it personally for my own studying, and it works well enough for me. It is also a feature that I think many other people would also find useful. But I am not sure if it will be judged as falling within the goals of this project, or if it's too hacky. If there's interest in merging, I will be happy to polish it up further.

@windingwind
Copy link
Copy Markdown
Owner

Thank you for the contribution, though I don't get the point. You can create an annotation with a given tag and use it as a bookmark.

Besides that, this code seems to be generated by/with LLM and doesn't seem like something I can maintain in the long run.

@ppdms
Copy link
Copy Markdown
Author

ppdms commented Mar 26, 2026

Hi, regarding the desire for a separate bookmarking feature, I just think that the bookmarks interface that e.g. Preview has on macOS is much more intuitive and useful (at least personally) compared to having to create annotations manually & track them by tags. Creating an annotation manually would also make it visible on the page, whereas this feature hides it.

I can find examples of other people saying this:
https://www.reddit.com/r/zotero/comments/1ic2c6y/is_it_possible_to_put_a_bookmark_in_a_pdf_using/
https://forums.zotero.org/discussion/95515/feature-request-create-bookmarks-in-the-integrated-pdf-viewer
windingwind/zotero-actions-tags#586

About the code quality, as I said it's a POC and I haven't spent any time polishing it up, also there's definitely an upper bound for how good any version of this can get, especially in the places that interact with Zotero's UI. That said, if you feel that the concept is interesting I would amend it to make it as maintainable as possible, otherwise I'll probably keep it as a personal fork to use myself.

@windingwind
Copy link
Copy Markdown
Owner

Thank you for the discussions. I still think it is not very suitable to get into this repo. Probably it's better to work in a separate plugin.

@ppdms ppdms closed this Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants