Discourse Meta
如何让目录忽略标题?
产品支持
disco-toc
Anders_Johansson
(Anders Johansson)
2022 年11 月 12 日 20:48
1
是否有办法让目录忽略某个标题?
Canapin
(Coin-coin le Canapin)
2022 年11 月 12 日 20:51
2
如果您不关心语义,可以在
span
上创建一个
data-h2
属性或类似的属性,以模仿/扩展
h2
样式。
相关话题
话题
回复
浏览量
活动
TOC doesn't work when wrapped with HTML tags
Product Support
disco-toc
1
439
2023 年8 月 23 日
TOC component and header IDs
Product Support
3
1566
2020 年7 月 6 日
ToC not working when headers are inside a div?
Product Support
disco-toc
3
463
2023 年8 月 25 日
Disable headers in replies like <h1> and <h2>
Product Support
16
2425
2020 年9 月 3 日
DiscoTOC doesn't work with headings in lists
Bug
disco-toc
2
308
2024 年8 月 29 日