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

Table of Content Export



i have a Confluence Page with a couple of Header h1.

When i add the TOC Macro i will get listed all like

1. Example

2. Example



Is there anyway when i export them to get the Header with the TOC Numbers?





2 answers

1 accepted

0 votes
Answer accepted

Hey Michael,

So, you have a page with some H1 Headers in Confluence. You have used the TOC Macro to create a Table of Content for your users. 

Now, I am not sure if I quite understood the problem itself and neither what you are trying to achieve.

Are you trying to export your page to a given format and want the H1 Headers to actually contain the TOC numbers ? Like, to replace the H1 Header numbers with the TOC numbers?

Please, let us know so we can help you further.

"Answer" is not a solution.

Unfortunately, the "answer" is not a solution.

What is interesting is that the TOC “automatically” assigns Heading numbers to the topics in the PDF! That is great! However, the topics within the PDF are not carrying the Heading numbers shown in the TOC. I suspect there is a way to configure how to generate a PDF that not only automatically assigns a Heading number in the TOC but also assigns that same number to the Headings in the body when the PDF is generated.

TOC example in generated PDF:

1. Introduction 
1.1 Overview
1.2 Prerequisites

Corresponding example of headings in generated PDF:


Is there a way for the TOC numbers to be synchronized with the headings in the body and shown in headings in the PDF?


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

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