The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Headings in macros "table of contents" (problem with included pages) confluence

Stanislav
November 14, 2023

I am using "table of contents macro" to have easy navigation on the confluence page. 

But i have a problem that if you use macros "Include page" on this page, lets mark this page as number (1). And the page that we include we will mark as number (2).
So if the included page (2) have its own heading it will translate this heading to the page (1) where i need only its own heading.

I dont like the solution where we exclude some sort of headings lower and use them in included pages (2) because pages a very different and it is not possible to controll headings for every included page.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Stanislav
November 14, 2023

maybe you can exclude everything under the class="expand-content"

Stanislav
November 14, 2023

This pages are included and under expand macros. Included pages shown in ToC macros but because it is expand you cant click it for example. MAybe you know how to exclude from ToC "included" pages or heading under "expand" macros


Screenshot 2023-11-14 172532.png

TAGS
AUG Leaders

Atlassian Community Events