panels with headers

This question is in reference to Atlassian Documentation: Panel Macro

I'm working on templates for my team. Is there a way to associate panels to a table of contents? Either with headers or something I haven't thought of?


Thanks for the advice!

3 answers

0 vote
Steven Behnke Community Champion Dec 09, 2016

Can you maybe provide an example of what you'd like for the desired output, and an explanation of how you'd like it to work in the editor?

0 vote
Sam Hall Community Champion Dec 10, 2016

Hi Jacob,

Are you looking for a way to get the panel macro's "title" to show up in a table of contents for a page?

If so, it's not possible as far as I know, but there is a feature suggestion here which you could vote on:

Possible options which might get close to what you want are:

  • Put headings inside the panel content, so that they are picked up by the table of contents macro.
  • Put anchors inside the panel content. Put links to the anchors at the top of your page.

See also:

Here's a kludgy option. Add a div within a panel and turn it into the title:

image2016-12-16 17:57:25.png


Making the text in the Div macro a heading style will get it listed in the TOC:

image2016-12-16 17:39:50.png


Here is the CSS I have in the Style field of the Div Macro:

background: pink; position: relative; left: -10px; top: -10px; padding-left: 10px; padding-top: 5px; padding-bottom: 5px; width: 110%;

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

175 views 12 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot