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.

Suggest an answer

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

How To: get the most out of the new Confluence navigation and Home

Hi Community, Elaine again from Confluence Cloud Product Management. Most of you have used the new Confluence navigation and Home for some time by now. Not sure what changed or just want to lear...

480 views 3 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