:cookbook/markdown-table-of-contents

This is is a magic string 👇, you can also try "toc"

Table of contents

1

1.a

1.b

2

3

3.a

3.a.a