It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to generate TOC from panel titles?

Something I'd like to do for several pages is to be able to generate a Table of Contents from the titles, or heading text, in panels. For example, if I have three panels with titles Version 1, Version 2, Version 3, I want my table of contents to be,

  • Version 1
  • Version 2
  • Version 3

I've learned that the CSS class for the panelHeader only turns the panel title bold and doesn't do anything else to it.  I can style that class, but can't figure out how to specify to include that panelHeader class as the basis for a TOC.

I don't want to do this for all panels or on every page, only for some pages.

Does anyone know how I can accomplish this? Thanks in advance.

1 answer

0 votes

Hello Michelle,

Thank you for raising this with us.

There was a similar question in the past, perhaps it can help you?

I'm not really sure myself, but maybe that can point you into the right direction.

We have a feature request for this feature, which you can find below. You can vote on the request and you'll be added to the list of watchers and receive updates on this in the future.

  • CONFSERVER-37130 Add functionality for Panel Macro's "Title" to show in Table of Contents

Let's leave this thread open for other suggestions, in case anyone else has an idea of how to do that; I just wanted to share the feature request with you.

Take care,


Thank you! I appreciate it!

Like Shannon Spaniol likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

7,071 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you