I wanted to include some data from a file, as an example to help illustrate what my comment was about. JIRA won't honor all my block options.
I added a block like the following:
{code:language=none|linenumbers=true}
First line of data
Second line of data
Third line of data
{code}
But when it was rendered, there were no line numbers to refer to the lines I wanted to call out. I followed instructions I found in several places, including the JIRA Wiki pages, on what code block macro options to add, with no luck. How do I tell JIRA to actually render line numbers?
Jira's macro does not do this. If possible, you could replace it with this macro: https://marketplace.atlassian.com/archive/1180762
Thanks, Steven. The following answer was also very helpful, explaining Jira and Confluence are separate products. The Confluence macro supports some advanced formatting options but Jira does not. https://community.atlassian.com/t5/Jira-questions/Jira-Code-Block-Macro/qaq-p/1019169
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.