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 votes

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
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,402 views 15 19
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