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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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

Sub-Table of Contents

Hi all, I wanted to do something quite simple on Confluence and I can't. I have a really long document that needs multiple Tables of Content. Here's an example:

Heading 1s: Red, Blue, Green

Heading 2: a,b,c (all of them under blue)

Heading 3: a1,a2,a3... (all of them under a) / b4,b5,b6 (under b)


I already made a top table of content with only red, blue and green and the a,b,c under the blue (which Ive already managed to do) and once you click on A you could see a table of content with a1, a2, a3. If you clicked on B, you would see a table of content with b1, b2, b3.


I dont know if I was clear enough, but its something really simple to do.

1 answer

0 votes
Diego Atlassian Team Feb 08, 2021

Hello there @Pedro Murgel !

After reading your description, I am not sure if I follow what is the desired outcome of your setup.

Would you mind manually creating what is the desired outcome just as a mock up? Be careful not to disclose any sensitive information with it.

However, I believe that you need an interactive table of contents, where content is collapsed or expanded upon user click. Currently, this is not supported in our Table of contents macro. You can check more details about it here:

Insert the table of contents macro 

Let us hear from you!

Hi Diego. What I wanted to do is the following:

[Text and then Show up the first table of content]

  • Functions
  • Countries
  • Products

[Once I click in Function]

  • Function A
  • Function B
  • Function C

[Once I click in Country]

  • Country A
  • Country B
  • Country C


So, I want to add multiple Table of Contents that show up different contents (Function, Country and Product are a Heading 2, Function A,B,C are a Heading 3). My question is related to doing a table of content that only shows up specific fields.

I figured out that I could put .*(Function A|Function B|Function C), what apparently works for the "Preview", but it does not show up in my page at all.


Can you help me with that?


Suggest an answer

Log in or Sign up to answer
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...

101 views 0 3
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