Table of Contents – Test Page

Now let's specify the selector and exclude the header and the sponsored message. And add some styling.

A nice demo article

Now let's specify the selector and exclude the header and the sponsored message. And add some styling.

How was this created?

Check the source to find out!

It adapts the page's style and with the selector attribute, unwanted headlines can be ignored.

This h4 is an important announcement

We want this headline in the TOC for testing purposes to see that headlines do not need to be ordered from h1-h4, but can come in unexpected ways.

Sub1

Subsub1-1

Subsub1-2

Sub2

Subsub2-1

Subsub2-2

Sub3