> 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/newspot/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="/files/kFEmWMABrWdLaXgwDzs0" alt="Table of contents" width="476"><figcaption></figcaption></figure>
