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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

276 views 2 10
Read article

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