---
title: "Discussion on \"How-To: Add a Table-of-Contents to your HN story\" | Hashnode"
description: "Discussion on \"How-To: Add a Table-of-Contents to your HN story\". Hashnode automatically generates anchor points for your stories when you add headings. \nHeadings do not just define a structure for your story; they also help readers follow your words better. Additionally, titles act as anchors.\nIn your story, you m..."
url: "https://hashnode.com/posts/how-to-add-a-table-of-contents-to-your-hn-story/5f6e1aa160599c596c47253c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How-To: Add a Table-of-Contents to your HN story](https://nerdalytics.hashnode.dev/how-to-add-a-table-of-contents-to-your-hn-story?utm_source=hashnode&utm_medium=feed)

Hashnode automatically generates anchor points for your stories when you add headings. Headings do not just define a structure for your story; they also help readers follow your words better. Additionally, titles act as anchors. In your story, you m...

Sep 25, 2020 · 3 min read · nerdalytics.hashnode.dev  
Read the article

-   [#hashnode](https://hashnode.com/tag/hashnode)
-   [#story](https://hashnode.com/tag/story)

## Written by

[Denny Trebbin](https://hashnode.com/@nerdalytics)

@nerdalytics · Germany

  
[View profile](https://hashnode.com/@nerdalytics)

Lead Fullstack Developer. Experimenting with bleeding-edge tech. Irregularly DJ. Hobby drone pilot. Amateur photographer.

I am eager to experiment with bleeding-edge programming languages, frameworks, and libraries. Exchanging experiences gained during such experiments is one of my thirsts. Also, irregular spinning music records in some clubs is a very welcome activity to which I cannot say no to when asked. I love flying drones, driving Mustang, watching NBA, and motorsports. Well, I think this is a good overview of myself.

## Responses 2

Markdown supported · ⌘↵ to post

[Boluwatife Fayemi](https://hashnode.com/@Bovage)

[Nov 23, 2021](https://hashnode.com/posts/how-to-add-a-table-of-contents-to-your-hn-story/5f6e1aa160599c596c47253c/comment/619d597d1a07d7765ae86095)

This isn't working any longer!!! The id is now prefixed with 'heading-'.

[Michael Myers](https://hashnode.com/@moek)

[Sep 22, 2021](https://hashnode.com/posts/how-to-add-a-table-of-contents-to-your-hn-story/5f6e1aa160599c596c47253c/comment/614a9b4920bcc6765ac05d9e)

thank you! that was useful
