How to demote headings in an Include Page macro?

Shawn Wilson June 29, 2017

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

0 votes
Robert Reiner _smartics_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2017

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
TAGS
AUG Leaders

Atlassian Community Events