Hello,
We urgently need Syntax Highlighting for our programmers. It is most important for "python" our main programming language. Is there a way to set this in JIRA OnDemand. It is quite important for us. I would appreciate a solution.
Okay Thanks, and how does it works in Confluence OnDemand? Here comes this Message: Unable to find source-code formatter for language: python. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
How can I activate or enable it?
Hi Marcel Stoll,
In JIRA you could use {code} macro to use syntax highlight for source code snippets.
Try to paste this in the issue comment field:
This is a {code}
// Java printing sample
System.out.println("Hello, world!");
{code}
If this does not work for you - you may need to enable this feature by the following steps:
Hope this helps!
--
Cheers, Ignat.
In Confluence it may be even easier. You just have to use the 'code' macro.
This article can be a nice guide:
https://confluence.atlassian.com/display/DOC/Code+Block+Macro
Hosted JIRA claims that Python is not a supported language!
Doesn't help at all.
The problem is with syntax highlighting of python not syntax highlighting python code using java syntax in JIRA (not confluence)
# This program adds up integers in the command line import sys try: total = sum(int(arg) for arg in sys.argv[1:]) print 'sum =', total except ValueError: print 'Please supply integer arguments'
It looks like you're new here. Sign in or register to get started.