Using panel titles in Table of Contents

Hello all,

 

I'm currently trying to get titles used in the Panel macro into a table of contents. Is this possible or do I have to add these in a different way?

 

2 answers

0 votes
Ann Worley Atlassian Team Sep 18, 2017

The table of contents (TOC ) macro picks up Headings so if you format the titles within the macro as Headings they will be linked in the TOC.

Screen Shot 2017-09-18 at 4.43.34 PM.png

If you need the TOC to link to the title of the panel macro itself, you will have to build the TOC manually using the anchor macro above each panel, and links to the anchors.

That's sub-optimal. :(

Thats not good indeed, it would be nice to be able to add headings to panel titles so that it appears in the TOC

Jonathan Smith Community Champion Oct 12, 2018

@Ann Worley Is there an open suggestion that we can vote on to make the panel title 'findable' in table of contents macro?

Like 1 person likes this
Jonathan Smith Community Champion Oct 12, 2018

(even if we can default it to h3) :D

I was looking to use panel title in a TOC as well... Boss wants a TOC with links to make getting to a topic someone is looking for quickly. I used panels and have everything looking organized and sorted. Sad that you need to add another layer of work into the page and that it isn't simple to use them in the TOC and not have to redo everything I started.

I would love to see a way to easily include panels in the ToC while still formatting the content itself as paragraph. How about a checkbox for "include in ToC" or a way to format the panel title in the edit dialogue for the panel?

 

For now, I got around it by adding a heading in white (invisible) text above the panels.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,272 views 2 13
Read article

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