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?
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.
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
@AnnWorley Is there an open suggestion that we can vote on to make the panel title 'findable' in table of contents macro?
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.
I have added h2. text as the first line within my panel and made it the panel title / header. Then added the panel content under the h2. text.
I agree panel titles should have an "include in TOC" check box option, but this works with less effort than the Anchor macro option
just did the same. Thanks
Good morning,
I have the same issue and I have been looking for an alternative for panel without successful.
Anyway, I would like to apply the solution provided by @AnnWorley but I have several pages with the same problem. Also, other problem would be removing the label title from panel in order to avoid repeat the same title.
Do you know how to apply this alternative in automatic way?
Thank you in advance.
Dario
It looks like you're new here. Sign in or register to get started.