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

New editor: code block without line numbers?

Hello all,

We're an Opsgenie customer looking at Confluence Cloud to replace our old Wiki.  I realize the "new" editor has removed some macros and features users used to enjoy and that perhaps some of those capabilities will be returning in time.

What I'm not sure about is basic code blocks.  Unless I'm missing something, there appears to be no way to make a simple fixed-font or monospaced block of text (such as showing system output or file contents) without having line numbers. 

Even this community forum editor allows this, so it seems almost ironic that an industry standard like Confluence can't do it.  Is it inevitable that some of the code block customizations in the "old" macro will be re-instated?

Thanks for your help.

1 answer

0 votes
Brant Schroeder Community Leader May 03, 2021

@Chris Boyce Welcome to the Atlassian Community.

You are correct that the code block does not have this ability.  There is a feature request here  This is the closest that I found so you might want to submit your own.  

Thanks @Brant Schroeder - would you happen to know if code blocks inside Expands are also broken?  I can't seem to make that work either.  Thanks!

Brant Schroeder Community Leader May 03, 2021

@Chris Boyce - I am able to make that work.  If you add the expand and then add the code block it works.

@Brant Schroederyou're right it works "on its own" but it doesn't seem to work inside a table, ie. if you want to format everything nicely.  When you create the code block, it jumps outside the expand and there seems to be no way to drag it back inside.  Attempting screenshot below...


Screen Shot 2021-05-03 at 11.23.31 AM.png

Brant Schroeder Community Leader May 03, 2021

@Chris Boyce - Looks like you found a limitation.  I was also not able to do it within a table either.  

Like Chris Boyce likes this

Thanks for the quick replies. 

Suggest an answer

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

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. We la...

204 views 2 13
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