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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

72 views 0 4
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