# Add Anchor ID to Text

**URL:** <https://meta.discourse.org/t/add-anchor-id-to-text/201393>\
**Category:** Support\
**Created:** [August 23, 2021, 3:45am UTC](https://meta.discourse.org/t/add-anchor-id-to-text/201393 "2021-08-23T03:45:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [August 23, 2021, 7:35am UTC](https://meta.discourse.org/t/add-anchor-id-to-text/201393/4 "2021-08-23T07:35:44Z")

</div>

For the headers I just use the # markdown code for header, and the forum does the rest.

`### Anchor Header`

### Anchor Header

And then when I grab the link from then icon I get

https://meta.discourse.org/t/add-anchor-id-to-text/201393/4#anchor-header-1

I’m afraid I don’t use them in tocs (though I thought the TOC also did them automatically for you based on the same principle?)

---

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