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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

563 views 20 11
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