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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Table of Contents for a Section only

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 Community Leader Oct 09, 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
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

156 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you