Import word document with Expandable section to Confluence

I have a word document in which some of the sections I'd like to be expandable after I import it to Confluence. I know there is a macro "Expand" which does that. But the question is, what do I put in my word document so that Confluence interprets it as Expand section and makes the section expandable?

I have tried covering my expandable section with this in my word document and importing it into Confluence without success:



This text will be hidden by default but reader can expand this.



Confluence treats the {expand} block as plaintext and writes it as it is without converting it into a macro.


I am automatically generating this document many times a day so I cannot add expand sections manually every time.

1 answer

1 accepted

0 votes
Accepted answer

Hi Lokesh,

I'm pretty sure you'll have to add expand sections manually every time.

I wanted to do something similar with the code block macro for code snippets, but it turned out not to be possible. (Unfortunately I didn't ask in Atlassian Answers, otherwise I'd be able to link to the info.)

Thank you Rob, I was afraid this would be the case.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,526 views 25 14
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