# AcyMailing plugin : table of contents generator

## Description <a href="#description" id="description"></a>

This plugin is automatically installed with all our versions and enables you to generate a table of contents in your Newsletter.

## Plugin <a href="#plugin" id="plugin"></a>

When creating a Newsletter or a template, click on the "tags" button to access this page.

By default you can insert a table of contents based on your existing anchors (all elements inserted via our tag system have already defined anchors so if you included articles via our tag system, that's the one you should use!).

If you inserted text by yourself, you can configure the table of contents to load elements based on their type (H1,H2...) or based on a defined class.

You can also define a second level to create table of contents with two levels.

![](/files/-MJfGerfFzhxovdsUM_w)

table of contents

## Parameters <a href="#parameters" id="parameters"></a>

If you access the plugin via the AcyMailing configuration page, you will be able to set the default Divider used to display your table of contents.

![](/files/-MJfGgyE0vYNNn42fI6C)

Table of contents parameters


---

# Agent Instructions: 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:

```
GET https://docs.acymailing.com/old/integration-plugins/installed-with-acymailing/acymailing-plugin-table-of-contents-generator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
