Annotate resources
Highlight a passage in a text resource and give it a label and a color, or leave a comment on a PDF, so you and your colleagues find it again later. Annotations show inline in the viewer and are listed in the Annotations sidebar. A workflow can also create annotations for you, including on images and tables (Auto-annotate).
Prerequisites
- Rights on the Knowledge: Read on the Knowledge row of your role to see annotations, Create to add them, Update to change them, and Delete to remove them. See Manage roles and users.
- A text resource in a supported format:
.txtor.md. Other formats such asjson,xml, andhtmlopen in the syntax-highlighted editor and can't be annotated here. - A PDF resource, if you want to leave comments on a document.
Open a text resource
- Open the Knowledge tab and select the card of the Knowledge that holds your resource.
- Open the
.txtor.mdresource. A.txtfile shows as selectable text. A.mdfile opens on Preview: select Source to annotate it.
Editing a Markdown source after you annotate it can shift existing highlights, because they don't move with the text.
Create an annotation
- In the viewer, select the text you want to annotate by dragging across it.
- When you release the selection, the label/color popover opens.
- Choose or enter a label and pick a color.
- Confirm to create the annotation.
The selected passage is highlighted inline in your chosen color, and the new annotation is added to the Annotations sidebar with its label and color.
Annotations can't overlap or nest.
Review and manage annotations
In the Annotations sidebar:
- Select an entry to scroll the viewer to that passage and flash its highlight.
- Delete an entry to remove its highlight from the text.
Comment on a PDF
A comment attaches a note to a passage or to an area of a PDF page, where your colleagues see it.
- Open a PDF resource in the Knowledge.
- In the tool rail beside the document, open the small arrow on the comment button ("Comment options") and pick a gesture. The button remembers your choice, so next time a single click is enough:
- Comment on the text: select the passage you want to comment on. The selected text is kept as the quotation.
- Comment on an area: draw a rectangle around a region, such as a chart or a signature, that has no selectable text.
- In the popover, type your note in the "Write a comment" field.
- Select Save. The comment appears on the page as a note that carries its text, and it scrolls and zooms with the document.
If you close the popover without saving, no comment is created.
Review and edit comments
The Annotations panel lists comments grouped by page, each with its note and, for a text comment, the passage it refers to underneath.
- Edit a comment: change the note directly in the panel.
- Jump to a comment: select its inspect icon to scroll the document to it.
- Remove a comment: select its delete icon and confirm in the Delete annotation dialog.
Show or hide annotations on the page
- Select the eye button ("Show or hide annotations").
- Turn Text, Images, Tables, or Comments on or off, or use Hide all and Show all.
This changes only what is drawn on the document: the Annotations panel keeps listing everything.
Check that chunks are ready for search
Open a resource and select the Chunks tab. The dot on each chunk card says whether search can find it:
| Dot | What it means |
|---|---|
| Green | Search can find the chunk. |
| Warning color | Search can't find the chunk yet. Reprocess the file to fix it. |
| Gray | The chunk is disabled, so search ignores it. |