# 为文本添加锚点ID

**URL:** https://meta.discourse.org/t/add-anchor-id-to-text/201393
**Category:** Support
**Created:** [2021年八月23日 03:45 UTC](https://meta.discourse.org/t/add-anchor-id-to-text/201393 "2021-08-23T03:45:04Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2021年八月23日 06:44 UTC](https://meta.discourse.org/t/add-anchor-id-to-text/201393/2 "2021-08-23T06:44:30Z")

</div>

### 我相当确定它能用？

如果你点击上方的标题，左侧应该会显示一个链接图标。

我也使用例如 `<a name="anchor"></a>`，它们也能正常工作。

[Add Anchor ID to Text - #2 by JammyDodger](https://meta.discourse.org/t/add-anchor-id-to-text/201393/2#anchor)

  
  

    👈 隐藏锚点

（锚点大致跳转到这里）

---

_[View the full topic](https://meta.discourse.org/t/add-anchor-id-to-text/201393)._
