# Add TOC to every existing topic

**URL:** https://meta.discourse.org/t/add-toc-to-every-existing-topic/276315
**Category:** Support
**Tags:** disco-toc
**Created:** [April 12, 2021, 10:05am UTC](https://meta.discourse.org/t/add-toc-to-every-existing-topic/276315 "2021-04-12T10:05:22Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [August 23, 2023, 3:22pm UTC](https://meta.discourse.org/t/add-toc-to-every-existing-topic/276315/2 "2023-08-23T15:22:16Z")

</div>

It depends if you want to add it as soon as a new topic is created as well. I think it could be done with [Custom Wizard Plugin 🧙](https://meta.discourse.org/t/custom-wizard-plugin/73345).

You could add a TOC to all existing topics via the Rails console, though we tend to suggest this kind of solution when no other is available, and for experienced users, as it can easily go wrong.

---

_[View the full topic](https://meta.discourse.org/t/add-toc-to-every-existing-topic/276315)._
