# 相同的标题会导致相同的ID和锚点

**URL:** <https://meta.discourse.org/t/having-identical-titles-leads-to-identical-ids-and-anchors/270649>\
**Category:** Feature\
**Tags:** pr-welcome, disco-toc\
**Created:** [2023 年6 月 21 日 08:00 UTC](https://meta.discourse.org/t/having-identical-titles-leads-to-identical-ids-and-anchors/270649 "2023-06-21T08:00:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
发布日期： [2023 年7 月 5 日 18:22 UTC](https://meta.discourse.org/t/having-identical-titles-leads-to-identical-ids-and-anchors/270649/2 "2023-07-05T18:22:07Z")

</div>

这是HTML本身固有的问题，并非bug，所以这是一个技术限制。

一段使用你所描述的主题组件来展示此行为的视频：

我认为它的优先级很低，但如果有人想尝试，我很欢迎进行更改，所以我将为此添加一个#pr-welcome标签。 🙂

---

_[View the full topic](https://meta.discourse.org/t/having-identical-titles-leads-to-identical-ids-and-anchors/270649)._
