> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.unicornplatform.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to add table of contents to blog posts


This guide will show you how to add table of contents to your blog posts.


![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/table-of-contents_uxa1f8.gif)

# Step 1

Add the Raw HTML sections in the place where the titles should be. To do this kindly press the tab button and select **Raw HTML**.


![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/monosnap-unicorn-platform-buil_1bnr92d.png)



# Step 2


In the code section, use HTML to write your title and assign it an ID in the following manner: `<h2 id="your-id">Your heading</h2>`. 

You can replace h2 with h3, h4 etc. depending on the required heading level.


![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/monosnap-unicorn-platform-buil_bh7jwr.png)

# Step 3

Create a table of content in your blog post.

![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/monosnap-unicorn-platform-buil_nvnkmf.png)

# Step 4

Create a link leading to the desired title by specifying the ID of the title. 

In the link, you need to specify the title's ID starting with the `#`.


![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/monosnap-unicorn-platform-buil_15qwfj6.png)

### Done!

Now when you click on an item in the table of contents, you will be directed to the relevant section.
