# DiscoTOC - automatic table of contents

**URL:** <https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143>\
**Category:** Theme component\
**Tags:** official, disco-toc\
**Created:** [March 9, 2019, 5:36am UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143 "2019-03-09T05:36:22Z")\
**Posts on this page:** 1\
**Showing post:** 469

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [September 12, 2025, 7:44pm UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/469 "2025-09-12T19:44:00Z")

</div>

I guess you added the component to your theme and you have already tried to refresh the site in the browser after that (Just mentioning that because I sometimes forget).

Did you try the preview button of the theme? That can be helpful to check for a conflict with another component (Though I think it’s unlikely)

 ![Screenshot_20250912_213328_Firefox](https://global.discourse-cdn.com/meta/original/4X/7/c/1/7c174ad0af37138bd41dba7c3f00e8160689bb06.jpeg)

You can also try to add the text that the button in the composer menu adds to the post manually

```plaintext

<div data-theme-toc="true"> </div>

```

 ![Screenshot_20250912_213958_Firefox](https://global.discourse-cdn.com/meta/original/4X/a/6/3/a6313429ff99e41544127c44efaf55e7e6d83892.jpeg)  
Does that work?

---

_[View the full topic](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143)._
