Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,641,981
Community Members
 
Community Events
196
Community Groups

Unable to put Code Block to Expand Macro

Edited

Hi,

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

2 comments

Carla Ann Rowland
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 12, 2021

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

Like Alexandra Pavlyshina likes this
Carla Ann Rowland
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 13, 2021

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

I'm having the same issue.  What I want to accomplish it to have a well formatted code section (in this particular case, a SQL query) as part of a document for others to read/review.  I want the code section inside of the expand macro so users do not have to constantly scroll past the query to get to later parts of the document.  It makes the page look neater.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events