Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Alternative include macro

Josch Bencke
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.
November 11, 2013

Hi,

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 ?

Example:

"HostPage" contains following content

.h1 Title heading
.h2 included file
{include PageToBeIncluded}
.h2 second section
abd
.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,

Josh

1 answer

1 accepted

0 votes
Answer accepted
Josch Bencke
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.
November 11, 2013

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

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

http://www.adaptavist.com/doco/display/Builder

Answered :D

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events