How to close the Code Block macro box

I just discovered this macro and want to use it in a page with other information. Click and the code box displays and expands. How to you close the code box so other information on the page can be easily viewed.


2 answers

1 accepted

0 votes
Accepted answer

Closing question thanks to Eddie

Based on the docs I don't think that is possible. Once expanded it will stay so unil the page is reloaded.

If selected, the code macro's content will be collapsed upon visiting or refreshing the Confluence page. Clicking the expand source link allows you to view this content. If false, the code macro's content is always displayed in full.

You may want to submit an enhancement request at just wrap a non-collasping code macro inside the 'expand' macro, which does allow re-collapsing.

Eddie - thanks for the reply!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,239 views 5 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