> For the complete documentation index, see [llms.txt](https://docs.probloggertemplates.com/guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.probloggertemplates.com/guides/magspot/getting-started/table-of-contents.md).

# Table of Contents

This function is available for posts and pages and can be added easily via shortcode.

Shortcode: `{getToc} $title={Table of Contents}`

{% hint style="info" %}
INFO: After adding a Shortcode apply the Bold style.&#x20;
{% endhint %}

**Example:**

<figure><img src="https://3691344887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqQzRWtJHRrbdZmizmyK%2Fuploads%2FZxUsb0ec0H5K7wE4Qm0p%2Fimage.png?alt=media&amp;token=8024bc59-dad3-4676-abb2-77ecf554231c" alt="Table of contents" width="476"><figcaption></figcaption></figure>
