It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

{expand} user macro; macro body is not expanding

I have created a user macro exactly like expand macro.

for some reason text i have entered in the macro body is not expanding. what am i doing wrong? 

<div class="notice notice-success">
<h1 style="color:#80D651;"><span class="aui-icon aui-icon-small aui-iconfont-$paramicon"> </span> $paramtitle</h1>
<input id="toggle" type="checkbox">
<ac:macro ac:name="expand"> $body</ac:macro>

1 answer

1 accepted

1 vote
Answer accepted
Thomas Schlegel Community Leader Jan 18, 2018

Hi Alana,

this works for me:

<ac:structured-macro ac:name="expand">

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

616 views 4 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you