Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Unable to put Code Block to Expand Macro



I'm using Expand Macro, then I want to put Code snippet inside, but the code block is jump out of Expand. Is there any way to let the Code within Expand. Thank you

1 comment

You have to create expand macro. Then add code block inside expand block. Cannot create simultaneously.

Thanks for replying me. But I still do not get your points. I tried with these steps:

- Choose "Expand" from "Insert" dropdown

- Input title and body for Expand

- Publish

- Edit page

- Open Expand above and add code block (by Insert -> Code snippet)

->I see Code Block jumps out of Expand.

Please help me. Many thanks

So please clarify what you are trying to accomplish with the code block. The code block is a display box not an executable box.


Log in or Sign up to comment
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

5,994 views 11 55
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