Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How do I render two-letter code blocks?

I am writing code blocks and I have found that the text doesn't actually display when I have a code block with only two characters. So if I'm trying to write the characters ab, I can create a code block and any of the following will work: _ab, "ab", abc, but I cannot do just ab. How do I do this?

1 answer

1 accepted

0 votes
Answer accepted

Hello Julius,

Welcome to Atlassian Community. It's nice to meet you!

We have experienced this issue in the past with the former editor, and it was reported as a bug:

  • CONFCLOUD-61941 Code Block macro not showing its content if it has only two chars

As we are currently rolling out a new editor, the issue was closed. The new editor is not affected by this bug.

I'm testing it myself on both the old editor and new, and I can confirm the issue exists only on the older editor.

If you'd like to test this on the new editor yourself, you can create a new page using the new editor by clicking + and select Try the new editing experience.

If it does work for you, then you will want to use the new editing experience for any pages that will need the codeblock macro for sections of code that are 2 characters or smaller. 

Note that the new editing experience will eventually be rolled out to your entire instance, but if you want to see if it's possible for the change to be applied now to your full instance, please contact our support team at and they can help you with that.

I hope that helps! Do let me know if you have any questions or trouble with that.



Hi Shannon,


Thanks for your response. Is it possible to switch to the new editor in an existing page, instead of starting a new page? That way links are not broken, likes are not lost, etc.





Thank you for following up. It is not possible to switch an individual page to the new editor in Confluence Cloud. You'll need to recreate the page and copy and paste the content into the new page.

If you have trouble, you might want to try the Source Editor for Confluence Cloud. This app will allow you to copy and paste the source code directly. I still experienced some formatting issues even after doing this, so you will want to modify the page to look better in the new editor after you do that.

Let me know if you have any trouble.



OK. I created a new page with the new editing experience and it seems to work. Thanks for all your help.


Thank you for confirming that. Happy to help!

Take care, and have a pleasant rest of your week.



This new editor, did that option make it to the self-hosted version of confluence we bought and installed early last month? Because I'm still seeing this problem.

>If you'd like to test this on the new editor yourself, you can create a new page using the new editor by clicking + and select Try the new editing experience.

I can't readily find this option. Is this something I can install somehow?

ps. out of curiosity - how? 1 character works fine, 3+ characters show up, just not 2?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

134 views 2 10
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