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?
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
--
Cheers, Ignat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.