> For the complete documentation index, see [llms.txt](https://doc.anytype.io/anytype/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.anytype.io/anytype/espanol/crear/editor/table-of-contents.md).

# Índice

Puedes abrir un índice de tu contenido en la barra lateral derecha para navegar por el objeto; el panel seguirá abierto cuando te desplaces. Este panel se cierra automáticamente cuando navegas a otro objeto.

Además, puedes añadir un bloque de índice (`/índ`) a cualquier objeto. El índice se genera automáticamente a partir de los títulos de la página y se actualiza cuando añades o eliminas títulos.

<div data-with-frame="true"><figure><img src="/files/Db8appkTF8vMWfYok1oZ" alt=""><figcaption></figcaption></figure></div>

## Cómo funciona

Las secciones del índice se generan automáticamente a partir de los bloques de título de la página: título 1 (H1), título 2 (H2) y título 3 (H3). Basta con que añadas un bloque de título a la página; el índice lo registrará.

* Los [Títulos desplegables](/anytype/espanol/crear/editor/toggled-headings.md) también se incluyen en el índice.
* Haz clic en cualquier sección y el editor se desplazará hasta esa sección del objeto.
* Las sangrías reflejan el nivel jerárquico de los títulos.


---

# 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://doc.anytype.io/anytype/espanol/crear/editor/table-of-contents.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.
