# 自动生成目录

**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:** 14

<div class="post-metadata">

作者： ![Lori1](https://avatars.discourse-cdn.com/v4/letter/l/ea5d25/32.png) [@Lori1](https://meta.discourse.org/u/Lori1)\
发布日期： [2020 年3 月 9 日 19:37 UTC](https://meta.discourse.org/t/automatic-table-of-contents-generation/79626/14 "2020-03-09T19:37:43Z")

</div>

有没有办法直接显示 H1 和 H2 的展开式目录，而无需用户手动点击来显示 H2？

---

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