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:

 

{expand:ExpandMe}

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

{expand}

 

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
Answer accepted

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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

259 views 2 10
Read article

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