# 自动生成目录

**URL:** <https://meta.discourse.org/t/automatic-table-of-contents-generation/79626>\
**Category:** Feature\
**Created:** [2018 年2 月 2 日 14:16 UTC](https://meta.discourse.org/t/automatic-table-of-contents-generation/79626 "2018-02-02T14:16:37Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![trudat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trudat/32/104354_2.png) [@trudat](https://meta.discourse.org/u/trudat)\
发布日期： [2018 年3 月 27 日 19:56 UTC](https://meta.discourse.org/t/automatic-table-of-contents-generation/79626/9 "2018-03-27T19:56:01Z")

</div>

Would really like to have this feature in Discourse.

@tobiaseigen was something developed to generate the ToC in this post? Oh I guess not (after re-reading the post).

[https://community.namati.org/t/faq-frequently-asked-questions-about-the-network-platform/1467#tour](https://community.namati.org/t/faq-frequently-asked-questions-about-the-network-platform/1467#tour)

There are ruby libraries that seem to have the feature built in, to parse markdown and generate a ToC:

[https://github.com/vmg/redcarpet](https://github.com/vmg/redcarpet)

---

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