Automatic linked headers on the getkirby.com website

I’ve seen that the page at https://getkirby.com/license has nice individual ID-Attributes on each header level.
When I look into the source of that file (https://github.com/getkirby/getkirby.com/blob/master/content/license/license.txt) the IDs are not defined there. Somehow Kirby seems to be quite smart and generate them automatically.

That does not work for me on a project. Do I need to enable that somehow?

Thanks
Tobias

P.S. I’ve found Plugin to make header tags linkable, but it does not seem to be used on the getkirby.com website.

The magic happens within a kirbytext filter: https://github.com/getkirby/getkirby.com/blob/master/site/plugins/toc/toc.php#L21 (lines 21-23)

1 Like

I was actually looking into that but didn’t realize that it does the magic.

Thank you @jakobploens.