> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/web/outlines-bookmarks/bookmark.md).

# Outlining/Bookmarking documents in WebViewer

Discover the power of outlining and bookmarking documents in WebViewer. Learn how outlines provide structure like a table of contents, while bookmarks save your place for seamless navigation. Explore

{% hint style="info" %}
**Requirements**

*These packages are required to use these features in production. Trial keys have unlimited access to all features*

<a href="https://apryse.com/capabilities#PageManipulation" class="button primary">Package: Page Manipulation</a><a href="https://showcase.apryse.com/add-personal-bookmark-pdf" class="button primary">Live demo</a>
{% endhint %}

Outlines and bookmarks are often used interchangeably. In fact, outlines are considered part of the PDF document, providing a hierarchical structure to it, and can be nested to form an outline tree. The outline can be thought of as a table of contents. Meanwhile, bookmarks allow users to save their position within the document.

Outlines typically represent an outline of a document. Since each outline is associated to a specific page, it provides the ability to link to a different page or section in a document allowing the user to navigate interactively from one part of the document to another.

## Demo

[Edit Table of Contents](https://showcase.apryse.com/edit-table-of-contents-in-a-pdf) [User Bookmarks](https://showcase.apryse.com/add-personal-bookmark-pdf)

## Get started

[Outline tree](/web/outlines-bookmarks/outline.md) An introduction to outline tree.

[Adding an outline](/web/outlines-bookmarks/add.md) To add an outline in an existing document.

[Editing an outline](/web/outlines-bookmarks/edit.md) To edit an outline in an existing document.

[Remove an outline](/web/outlines-bookmarks/remove.md) To remove an outline in an existing document.

[User bookmarks](/web/outlines-bookmarks/user-bookmarks.md) To display a list of user-defined bookmarks that are not available to other PDF viewers.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/web/outlines-bookmarks/bookmark.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
