---
title: "Documents"
description: "Publish durable work, comment on and revise documents, and export or share the result."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.indent.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Documents

Documents are durable, versioned write-ups for investigations, audits, analyses, memos, and other
work people need to revisit. Ask Indent to **publish a document** when a result needs a home beyond
the session. Indent returns a link when the document is published, and the document remains
available after the session's computer is gone. Documents used to be called reports, and the
document's source file is still named `report.md`.

## Find and read documents

Select **Documents** in the app sidebar to browse documents available to you. Search matches
document titles. Use **Mine**, **Teammates**, **Bots**, and **All** to filter by creator. Private
documents have a lock icon. Documents are ordered by their most recent publication.

A document opens next to the chat when Indent publishes it, and on its own page from the
**Documents** list or a link. The outline on the left jumps to each section.

Each publication that changes the document or one of its assets creates a version. Pick a version
from the version menu in the document's header, or open **Version history** in the **⋯** menu to see
when and by whom each was published. **Open chat** opens the source session for the selected
version.

## Comment and ask for changes

Anyone who can open a document can comment on it, from the document's own page or from the panel
next to the chat.

1. Select text in the document. A comment box opens beside the passage. To comment on the whole
   document instead, choose **Add a comment…** under the title.
2. Write your comment, then choose how to post it:
- **Comment** posts it for the people who can see the document. Indent does not act on it.
- **Send to Indent** posts it and sends it to Indent. Typing `@Indent` in the comment does the
     same.
3. While Indent works, a status pill at the bottom of the page shows each step, such as
   **Thinking**, **Editing the document**, and **Published v3**. Indent replies in the thread and
   resolves it when the change is done.

![A comment box beside a selected passage, with Comment and Send to Indent buttons](/images/document-comment.png)

Comments go to the session that published the newest version, and Indent revises the document as a
new version of the same document, so existing links keep working. A thread on text that a later
version changed shows **Outdated** with the original passage.

Comments posted without sending stay with the document. To hand them to Indent later, use **Send to
Indent** on the pill at the bottom of the page. If you can open the document but can't send messages
in its session, Indent can't see your comment yet. The comment shows **Request access**; Indent
receives it once someone adds you to the session.

Mention people with `@` to bring them into a thread. If someone you mention can't open the document,
Indent offers **Share and post** to add them first.

Open the comments button in the header to see **Open** and **Resolved** threads. Anyone who can open
the document can resolve a thread, and replying to a resolved thread reopens it.

## Share a document

A document starts with the visibility of the session that first publishes it. Open **Share** on the
document page, or **Share document** in the panel inside a session, to see who has access:

- The **Owner** created the document.
- People added to the document are its direct members. Any editor can add people; only an owner can
  remove a direct member with **Remove from document**.
- People marked **Via session** have access through the session the document came from. They can't
  be removed from the document; **Via session** links to that session.

Under **General access**, choose **Only people with access** or **Everyone at** your organization.
While the document's session is visible to the organization, the document is too, and General access
is locked.

Someone who opens a document they can't see can request access with an optional note. Editors see a
badge on **Share** counting waiting requests, and can approve or decline each one from the menu. If
the requester keeps the page open, the document opens there once they're added.

## Copy and download

The **⋯** menu in the document's header has **Copy link**, **Copy as Markdown**, **Rename**, and
**Download** for the version you are viewing:

- **Download as PDF** opens the browser's print flow for the rendered document.
- **Download as ZIP** downloads the source Markdown and its assets.

Referenced files and images are stored with each version. When a document uses an external image,
Indent downloads it and publishes it as an asset; a document cannot keep an external image URL
embedded directly.

## Publishing limits

- Publishing requires a cloud sandbox. A session attached only to a local computer cannot publish a
  document.
- Subagents cannot publish documents themselves. The main session must publish the finished
  document.
- External images must become assets before publishing. Referenced files are copied into the
  document so they remain available with it.
- `report.md` can be up to 2 MiB. Each referenced asset can be up to 25 MiB, with at most 100 assets
  and 100 MiB total per version.

Source: https://docs.indent.com/working-with-indent/documents/index.mdx
