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

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

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events