Skip to main content
Can you add anchor tags to Help Center articles that are longer?

Hey @autumn​ - you can use the hash key ( # ) to add anchor tags to Help Center articles URLs.

 

For example: https://www.intercom.com/help/en/articles/167-install-intercom-on-your-website-and-chat-with-logged-out-visitors#install-the-javascript-code./p>

 

Sub-headers within your Article body can be used as anchors in this way.


So I'm looking to create a table of contents for an article. For example the structure will be similar to this:

 

What you'll learn:

  • Thing 1
  • Thing 2
  • Thing 3

 

Each of the bulleted "things" should pop down to that section in the article. Each section will have a sub-header title. So, how would I link the bulleted text to go to that section in the article? Would it be #Thing-1 or #Thing1?


In that case, it'd be # Thing-1.

 

Use hyphens in your anchor link to denote spaces between words!


Just figured this out, thanks!


Glad to hear it! Just for my own information, was the solution I provided the correct one? Or did you need to do anything different?


Yep, you were correct. Your solution worked like a charm.


Delighted to hear it! 🙌 That's a good one to share in @Tips, Tricks, and Workarounds​ - even if you had an example article to share with other Connectors?


Hey @autumn​, some great news - we've shipped this as an official feature of Articles! You can read more about it here.


This is so great! Thanks for sharing, @eric f11​. This will be very helpful for longer articles we have.


Reply