How to demote headings in an Include Page macro?

My primary page has Headings 1-3, and an Include-Page macro of another page that also has Headings 1-3. However, because that page is a subsection of the primary page, I'd like the headings to be demoted to levels 2-4 (while still being 1-3 on their original page).

Is there a way to do that?


1 answer

I'm not aware that this can be done with the Include-Page macro.

The commercial projectdoc Toolbox supports this use case with the Section Macro and the Transclusion Macro. Please refer to Target Section Level or Heading Level Transposition for a visual example.

The tip Content Reuse provides more information on transclusions with the projectdoc Toolbox. 

Please note that I'm one of the authors of the mentioned commercial add-on.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,602 views 25 10
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you