> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.laposta.org/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.laposta.org/_mcp/server.

# Creating a table of contents with internal links

> Automatically place a table of contents with the Table of contents block or create your own anchor links to a section in your newsletter.

There are two ways to link to a section further down in the same newsletter: automatically using the ‘Content’ block, or manually using anchor links. A link to a website, email address or file works differently. You can read how to place those in [Placing a link in your newsletter](/hoe-plaats-ik-een-link-in-mijn-nieuwsbrief).

## Automatically creating a table of contents

In the drag & drop editor, drag the ‘Content’ block into your newsletter. All titles from the ‘Text’ and ‘Title line’ blocks will automatically appear here, with a link to the corresponding section.

Do you not want to show a title in the table of contents? Click the block containing that title, open the ‘Settings’ tab on the left and select ‘Hide from table of contents’.

![The option Hide from table of contents under the Settings tab of a Title line](file:assets/images/schermen-en/b4-03.png)

Under the ‘Design’ tab, you can configure the formatting of the text, the box and the exterior, separately for desktop and mobile. There you can also indicate whether you want to hide the table of contents on desktop or mobile, copy the design to all other ‘Content’ blocks, or use this formatting as the default for new content blocks. These options work the same way as for the other blocks; see [The content blocks in the drag & drop editor](/welke-inhoudsblokken-kan-ik-gebruiken-in-de-drag-drop-editor).

If you work with a [custom template](/wat-moet-ik-doen-om-een-ontwerp-op-maat-te-laten-maken) of the Joe type, that template can also automatically place a table of contents in your newsletter.

## Creating your own internal links with an anchor

An internal link consists of two parts that you both place in a ‘Text’ block: an anchor at the spot you are linking to (such as the title of your newsletter) and a link to that anchor (for example with the text ‘to top’).

#### Place the anchor in the source code

Click the text block you want to link to, click ‘Source code’ and type `<a name="top"></a>` in the desired spot.

![The anchor with the name top in the source code of a text block](file:assets/images/schermen-en/b3-10b.png)

#### Create the link to the anchor

Select the text that should link to the anchor and click the link icon (the chain link). For ‘Link Type’, select ‘URL’, for ‘Protocol’, select ‘`<other>`’ and enter `#top` as the URL.

![The link window with link type URL, protocol other and the link #top](file:assets/images/schermen-en/b2-07--linkvenster2.png)

Use a unique anchor name for each text block, such as `article-1`, `article-2` or `top`. In the link, put that same name preceded by a hash symbol.

> **Note**
>
> The ‘Source code’ button is intended for text and links within an existing text block, not for modifying the structure of the block. If you add code yourself, you are responsible for the result. The helpdesk does not repair manually added code. See: [HTML code in the editor](/kan-ik-zelf-html-code-aan-mijn-nieuwsbrief-toevoegen).

Do you not want the link to be underlined? Go to Design → Text and turn off underlining. You can read more about the structure of anchor links in [this guide to hyperlinks](https://www.handleidinghtml.nl/html/hyperlinks/hyperlinks05.html).

## Related articles

#### [Placing a link in your newsletter](/hoe-plaats-ik-een-link-in-mijn-nieuwsbrief)

Make words, buttons and images clickable to a web page, email address, file, phone…

#### [Creating a read-more link in your newsletter](/kan-ik-in-mijn-nieuwsbrief-ook-een-lees-meer-link-maken)

Keep your newsletter brief by placing an intro for each topic and linking to the full…

#### [Which blocks are available in the editor?](/welke-inhoudsblokken-kan-ik-gebruiken-in-de-drag-drop-editor)

Overview of the eleven blocks you use to build a campaign or template, and what you can…

#### [Using the Share block in your newsletter](/hoe-kunnen-mijn-relaties-mijn-nieuwsbrief-direct-delen-met-anderen)

Place buttons in your newsletter that allow recipients to share the webversion or a…