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: 

Table of Contents for a Section only

Matthew Schwarz
October 9, 2020

Is there a way to show a Table of Contents only within a section?

 

I've trying using the minimum and maximum header levels settings with the Table of Contents macro, but even if making the minimum header level 2 it still shows all the 2 headers from throughout the entire page.

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alexander Klimetschek
September 3, 2026

Use the "Table of Contents Zone" macro for that section. The macro must contain all the content of that section. Then configure it like the normal TOC macro.

 

(And configure to only show the TOC at the top of the section - defaults to top & bottom for me, which looks weird)

0 votes
Spencer Hudson
Contributor
May 26, 2026

yes this would be a great feature . i just want all the pages in the appendix to be listed

0 votes
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 9, 2020

This is a bit tough. Your only option with this macro is to write regex in the include/exclude fields to filter out the other headings.

If there is a way to make the headings you want to appear have a common string, it will make your life easier.

Or you need to write your own ToC macro that only works on the included macro body, but that will restrict where you can place the ToC.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events