Skip to main content

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: .txt or .md. Other formats such as json, xml, and html open 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​

  1. Open the Knowledge tab and select the card of the Knowledge that holds your resource.
  2. Open the .txt or .md resource. A .txt file shows as selectable text. A .md file 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​

  1. In the viewer, select the text you want to annotate by dragging across it.
  2. When you release the selection, the label/color popover opens.
  3. Choose or enter a label and pick a color.
  4. 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.

  1. Open a PDF resource in the Knowledge.
  2. 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.
  3. In the popover, type your note in the "Write a comment" field.
  4. 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​

  1. Select the eye button ("Show or hide annotations").
  2. 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.

Open a resource and select the Chunks tab. The dot on each chunk card says whether search can find it:

DotWhat it means
GreenSearch can find the chunk.
Warning colorSearch can't find the chunk yet. Reprocess the file to fix it.
GrayThe chunk is disabled, so search ignores it.

Next steps​