Kirby TOC - Table of contents

Github: https://github.com/jenstornell/kirby-toc

Based on the solution presented here: Field method for heading ids, I’ve built a new plugin.

Example:

It may look something like this:

1 Okay Doc, this is it.
    1.1 Well maybe you are and you just don't know it yet.
    1.2 Oh, McFly, your shoe's untied.
    1.3 I'm too loud.
2 What Lorraine, what?
3 Uh, yeah. What?
    3.1 I can't believe it.
    3.2 I'm never gonna get a chance to play in front of anybody.
    3.3 I haven't So tell me, future boy, who's president of the United States in 1985?

...the content will follow here...
1 Like

The preview did not look that good without styling so here is a screenshot:

To see the whole page, look here on where I’ve implemented it on one my sites: https://pollenbutiken.se/kosttillskott-mot-pollenallergi

Hi! This works for kirby 3? Thanks!

No and I don’t have the time to convert it sorry. :frowning:

Thanks for the answer