mirror of
https://codeberg.org/readeck/readeck.git
synced 2026-06-18 11:04:36 +00:00
They were named "annotations" and not "highlight" for this very purpose.
- API side, easy, it's only an extra form field.
- Retrieve the note in bookmarks.GetAnnotations()
- Updated the annotation callback
- pass the annotation to each callback so we have access to all their
properties
- pass the number of text nodes to each callback
- when an annotation has a note, we add one last extra rd-annotation
tag that contains the note as its title and some extra data attributes
so it can be styled as needed