Syntax highlighting not working in Jira Cloud

 

Hi,

We just migrated from JIRA Software Server to Cloud and expected code syntax highlighting to just work. However, when I enter something like the following the input is rendered as plain text, including the code tags.

{code}
<?php
phpinfo();
{code}

According to https://answers.atlassian.com/questions/219752 I should check whether the [Autocomplete Renderer] is enabled for Comments and Description fields. It is!

What am I missing?

 

Regards, Martijn

 

1 answer

This widget could not be displayed.

I don't know what the problem is that you are experiencing. But you can try the Better Code Macro for Confluence Cloud that I wrote: https://cloud-code-macro.atlassian.io/redirect/install

Thanks Robert, while that looks like a very useful macro, it's not available in JIRA Software unfortunately.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

37 views 0 1
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