Please enable more code syntax highlighting options Edited

I use Rust, yaml, toml, and Makefile in most projects for work, and that involves writing some documentation on our wiki too.

Edit: also Assembly.

Can we please get further options added (in particular, the ones above)?

1 answer

This widget could not be displayed.
Stephen Deutsch Community Champion Jan 15, 2018

If you're using Confluence Server, then you can import your own Syntaxhighlighter brushes (.js files) into the Code Macro options in the 
Administrator options in order to enable syntax highlighting for other languages.

If you're using Confluence Cloud, then you could install Better Code Macro for Confluence, which should have at least some of those built-in.

That's great to see, but means I need to get an admin to install it since it's not a default.

I would much prefer to see the list of supported syntax highlights expanded by default for everyone.

Stephen Deutsch Community Champion Jan 17, 2018

Well, I just saw the release notes for Confluence 6.7, and it appears that YAML will be supported out of the box. I would recommend voting for the following issue on the Atlassian Jira site:

https://jira.atlassian.com/browse/CONFSERVER-53554

Until then, your best bet is probably to talk to your admin.

Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

477 views 6 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you