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

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

Deleted user Sep 18, 2019

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
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,591 views 7 30
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