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

1 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,260 views 25 10
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