Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Help to find the function

Hi, i have PAGE with multiple Sub-pages created (3 levels in total).

How to create the TABLE OF CONTENT for the whole thing? i mean, to be able to see all the pages and sub-pages as the list of links.

2 answers

1 accepted

0 votes
Answer accepted

The table of contents macro can only display headings on the current page, it's not a tree index of everything (that wouldn't be a table of contents)

You could append your child pages into the page and have this work, sort of.  Imagine you've got two child pages under a page, you could write the main page as:

{toc}

All the stuff you wanted on the main page

{expand:

h1. Sub-page 1

{include: sub-page 1}

h1. Sub-page 2

{include: sub-page 2}

end-expand}

I'm not sure that would be very pretty though.

Thanks, it worked :)

Hello @Oleksandr Proshyn 

Welcome to the community!

You can do the following steps in order to add the table of content.

To add the Table of Contents macro: 

  1. In the Confluence editor, select +> View more
  2. Find the item to be inserted and select it
  3. Select Insert

Thanks & Regards,

Zulfiqar Bin Zafar

Dear @Zulfiqar Bin Zafar [Table of Contents] tool works with the content of ONE PAGE.

In my case, i've created a tree like:

1. Page
   1,1 Sub-page
   1.2 Sub-page
       1.2.1 Sub-Sub-page

And i would like to have table of content from all the sub-pages on one MAIN PAGE.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,931 views 33 137
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