Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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.

1 answer

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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events