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

This widget could not be displayed.

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 Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

584 views 7 6
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