# TOC Feature: Table of Contents for longer posts

**URL:** <https://forum.cardano.org/t/toc-feature-table-of-contents-for-longer-posts/114668>\
**Category:** News and Announcements\
**Tags:** cardano-forum, feature, tutorial\
**Created:** [20 February 2023 09:39 UTC](https://forum.cardano.org/t/toc-feature-table-of-contents-for-longer-posts/114668 "2023-02-20T09:39:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lodl\_de](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/lodl_de/32/82473_2.png) [@lodl\_de](https://forum.cardano.org/u/lodl_de)\
**Post date:** [20 February 2023 09:39 UTC](https://forum.cardano.org/t/toc-feature-table-of-contents-for-longer-posts/114668/1 "2023-02-20T09:39:42Z")

</div>

We have a new Feature in our Forum called the Table of Contents (TOC) feature that automatically generates a table of contents for longer posts on the our platform. It uses markdown headers to create a list of clickable links to sections within a post.

The feature is designed to make it easier for readers to navigate through lengthy posts, and for authors to structure their content better.

**Features**

toc = table of contents

- Automatically generates the entire toc via a button in the composer gear menu
- The toc will always be on the screen - scrolls with content like the topic progress widget
- As you scroll past sections in the topic, the active element in the table of contents will be set to active (blue highlight)
- adds id attributes to headings (you can link to a specific section from another topic / post)
- clicking on any link in the toc will instruct the browser to navigate to relevant section (smooth-scrolling)
- adds a copy-able link next to each heading (if you want to link to it)

**How does it work?**

```auto
# heading 1

## heading 2

### heading 3

#### heading 4

##### heading 5

###### heading 6

```

**How to activate the Feature?**

 ![](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/d/7/d7b0a936d3c3c2356095194d7a08a4277d5f7e19.png)

This is the text that shows up in the composer preview to indicate that the a toc will be generated for the topic

 ![](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/f/f/ff21765d6c15d75612fc42cc7264173d27e64ab0.png)

An example of how this will appear in an article can be seen here:

> [@Cardano Community Digest - 20 February 2023](https://forum.cardano.org/t/cardano-community-digest-20-february-2023/114678):
>
> [image] Welcome to the Cardano Community Digest! Published by the Cardano community team every two weeks, this Digest will provide you with news, updates and events about the project and ecosystem! If you are interested in receiving the Community Digest in the future directly via email please sign-up [here](https://cardanofoundation.org/community-digest/)! Focal points of the week Valentine SECP Upgrade Goes Live on Cardano Mainnet [image] Cardano underwent yet another successful Hardfork Event. The upgrade took place on February 14 at 2…
