Add custom syntaxhighlighting to code block macro

Dear people,

I would like to add a syntax highlighter for a new language to the code block macro of Jira. Only thus far I could not find any documentation how I can achieve this. The only documentation I could find using google is about Confluence. Is it possible to add a new language? If so could anyone point me to the documentation page?

Many thanks!

1 answer

In Jira you need to develop your own renderer or look for plugins where such a renderer implemented.
For plugin tutorial look here

Tnx Alexey,

This got me on the right track. I discovered the package Prism on the Market Place. This package supports the Prism syntax highlighter (

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

348 views 0 6
Read article

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