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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Can't find code block macro

I have used a previous version of Confluence hosted on a server and it had a macro for code blocks. However, now I am unable to locate the code block macro and I only see a code snippet macro.

If the name has been changed for the macro, is there a way to remove the line numbers from the macro to only display the code?

1 answer

1 vote
DPK J Community Leader Sep 18, 2019

There has been a change in Code Block and is currently not available on Confluence Cloud New Experience.

And in code snippets, you can’t remove line numbers as of now.

Is this still not available in the latest version? 

Will code block ever be added back? It was very useful. If it won't be added back, the documentation should be updated. It's been almost a year.

How come in parts of our company documentation we are still displaying the cool code block sections, they are still in the editor, but in new pages they are not in the editor?

Suggest an answer

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

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

494 views 24 9
Join discussion

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