File format
One file per page: annotations/<page>.json, where <page> is the path of the page without the site base (guides/demo, it/guides/demo; the home page is index).
{ "version": 1, "page": "guides/demo", "annotations": [ { "id": "a759e8e8-e6ea-4f11-8001-4c0a89bf7bea", "created": "2026-11-12T11:00:48Z", "author": { "login": "octocat", "name": "The Octocat" }, "target": { "selector": { "type": "TextQuoteSelector", "exact": "point at the exact sentence", "prefix": "the people who read it can ", "suffix": " that confused them." } }, "body": "Should this say **paragraph**?", "resolved": false }, { "id": "0b1câŚ", "created": "2026-11-12T11:05:02Z", "author": { "login": "hubot", "name": "Hubot" }, "replyTo": "a759e8e8-e6ea-4f11-8001-4c0a89bf7bea", "body": "Yes, fixed in #42." } ]}- Notes about the whole page have a
targetwithout aselector("target": {}). The panel lists them first, under Whole page; they never lose their place when the text changes. - Kinds: a thread may have
kind:question,issue(shown as âProblemâ),proposalordecision. Its author picks it when writing and can change it with Edit. Notes without a kind are fine. - Suggested edits: a thread may have
suggestion, the text that should replace its quote (""to delete it). Only a thread with aTextQuoteSelectorhas one, since only it stores the whole quote. With a suggestion,bodymay be empty. - Targets follow the W3C Web Annotation selectors. A selection longer than
longQuoteis aRangeSelectorwith astartSelectorand anendSelector, each aTextQuoteSelectorof 80 characters. - Replies have
replyTo(the first note of the thread) and, when they answer another reply,inReplyTo. Threads are flat. - Bodies are Markdown, stored as typed.
- Authors are
{ login, name }. Withemails: truein the auth, notes and replies also carrycontact: the writerâs email, encrypted with the session secret. It is never sent to the browser. - Resolved threads have
resolved: true,resolvedByandresolvedAt. - Edited notes and replies have
edited, the time of the last edit. Only the author can edit, and the panel shows âeditedâ next to the date. - Threads that became an issue have
issue: { number, url }, and are resolved. - Moved threads have
movedByandmovedAt: someone attached them to another passage, andtargetis the new one.
When the text changes
Section titled âWhen the text changesâA note whose text cannot be found any more is listed under âText no longer found on the pageâ at the bottom of the panel, with the passage it quoted. Anyone signed in can press Attach to other text, select the passage the note is about now, and press Attach here: the thread keeps its messages and gets the new quote. Or resolve it, if the change answered it.
The overview page finds these notes for you: it opens each page with open notes and looks for their quotes, then marks the ones it cannot find Text changed. The status filter has a Text changed entry for them alone.