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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


Why does code disappear when in Code block macro?

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.
May 24, 2022

Running Confluence Data Center v7.13.2 (and some plugins, so who knows if they have anything to do with this)

Created a Code block macro and left the default settings.

Inside the macro body I put:


When I preview or update and view the page, the code block is blank but has a border, so I can tell where it is.

When I edit the macro's settings and refresh to Preview, it flashes c:, then disappears.

I have another Code block macro on the page with more code in it, and it appears fine.

I tried using the No format macro, but for some odd reason, the panel is not appearing, even when the No panel checkbox is unchecked (and when it's checked).

Something screwy is going on, anybody know why?

2 answers

I've had a similar problem (Confluence Server 7.19.1)...several times recently code just disappears within a code block (the macro shell is still there). Oddly, I have another code block on the same page and it didn't happen to that one. Definite bug. 

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 10, 2022


Have you tried clearing your cache?  Could this be an upgrade break?  Have you tried restarting Confluence?

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events