You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am using the Numbered Headings macro to automatically number all of the headings on a page.
How can I also add an automatically numbered Table of Contents to the page?
I have tried using the Table of Contents macro but it does not recognize the headings inside the Numbered Headings macro, even when placed inside the macro.
I have tried using the Table of Contents Zone macro, but it will not nest inside the Numbered Headings macro, and vice versa.
I am using the new Confluence Cloud editor.
Any advice is appreciated. Thanks!
Hi, I've been struggling with the same issue.
I managed to get this to work by nesting the default Table of Contents inside the Numbered Headings frame (see green lined section).
Placing it outside, like the red crossed out section, the TOC links will not work.
One minor thing I haven't tackled yet, is that the styling of the TOC seems difficult to define this way. Once you apply a default CSS style in the settings of the included TOC macro, the links stop working. No biggie for me, I'm already happy it will work this way combined with the Numbered Headings app.
So for me at least, this seems to do the trick. Hope this helps.
Hi Peter and Jakob,
I am on the team working on Numbered Headings. In order for the numbers to show up in the Table of Contents, you could consider using our new Page Numbering feature instead of our macro. This method numbers all headings on a page without the need for a macro and the numbers should show up in the Table of Contents, as well. Let me know if this is the right solution for you.