Alternative include macro


I think I remember an alternate "include" macro in V3.5 where the included macros are rendered in the target-context, not in the source-context. Has this been abandond or do I just not find it ?


"HostPage" contains following content

.h1 Title heading
.h2 included file
{include PageToBeIncluded}
.h2 second section
.h1 finish line
the end

"PageToBeIncluded" contains following content

{TOC macro}

.h3 one

.h3 two

.h3 three

Now - the rendered "TOC" could look like

*** one

*** two

*** three

or could look like

* Title heading

** included file

*** one

*** two

*** three

** second sction

* finish line

How do you do that today ?

Thanks in advance,


1 answer

1 accepted

Outch - the second I post this question - I remember a "potential macro name" ...

It was the Import macro from the Theme-Builder plugin.

Answered :D

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

365 views 20 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