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

0 vote

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
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
Posted 11 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

34 views 0 5
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