Support
To check known issues (or if you want to file one), view this app's issue tracker.
To learn more about the app, you should:
- Read the documentation.
If you are a developer, you can help fix the problem yourself by:
- Downloading the source code.
Description
Additional languages and enhanced layout options
Syntax highlighting for Java, XML, C#, C++, PHP, Ruby, Python, Objective-C, SQL, Perl, HTML, CSS, JavaScript etc.
Also additional layout options like line numbers, title, collapse and highlighting of selected lines.
Preview mode in create, edit and comment dialogs
Use preview mode in create, edit (incl. in-place edit) and comment dialogs to check layout.
Also in emails, activity streams, Jira Agile etc.
Syntax highlighting is also shown in emails, activity streams, Jira Agile planning and work mode etc.
More details
IMPORTANT NOTE: This plugin is no longer maintained due to significant efforts to solve compatibility problems with Rich Text Editor, which is now standard with Jira Core 7.4. With release of Jira Core 7.5 a lot more languages are supported out of the box now. Therefor please uninstall Jira Syntax Highlighter Plugin and update to Jira 7.5.
The Jira Syntax Highlighter PlugIn replaces the standard formatting macros {noformat} and {code}. It gives you a more advanced layout and support for additional languages like C#, C++, PHP, Ruby, Python, Objective-C, SQL, Perl, HTML, CSS, JavaScript etc.
Syntax highlighting is available in Jiras view issue screen and in preview mode during create, edit or comment of an issue (see screenshots). It is also available in activity streams, emails, Jira Agile boards etc.
Line numbers can be added, starting line number or title can be set. Also highlighting of single or multiple lines and collapse is supported.
See Documentation for more details.
Version history
2.2.0Jira Server 5.0 - 7.2.102015-01-23Parameter for title color and title background color added and minor bugfixes 2.1.2Jira Server 5.0 - 6.3.152014-11-05Bugfix for Gherkin language - Bugfix for case insensitive Gherkin highlighting #57
2.1.1Jira Server 5.0 - 6.3.152014-10-01Bugifx for unnecessary scroll bars - Bugfix for unnecessary added scroll bars #31
2.1.0Jira Server 5.0 - 6.3.152014-09-24Support for very long code blocks; Puppet, Gherkin and TCL added - Vertical scroll bar for very long code or noformat blocks #12
- Support for Puppet {code:puppet} pull request #7
- Support for Gherkin {code:gherkin}
- Support for TCL {code:tcl}
- Bugfix for missing keywords in Objective-C
- Bugfix for multi line strings in Python
- Email layout fixes for Outlook 2010
- Old JavaScript code removed from plugin package
2.0.0Jira Server 5.0 - 6.3.152014-09-09Highlighting in emails and activity streams; collapse parameter - Syntax highlighting in emails #45 and activity streams #44
- Support for collapse parameter #18
- Switching to line numbers not being shown by default #32
- Layout is now similar to Confluence
- Bugfixing problems with URLs and email adress rendering in some browsers #42 and #48
- Fixing compatibility issues with other plugins #47 and #46
Current limitations
- Missing highlighting for Gherkin and TCL compared to previous version (will be included in next release)
1.9.1Jira Server 5.0 - 6.3.152014-07-23Data Center compatibility; Searching for beta tester for next major release - Data Center compatibility
- Searching for beta tester for next major release
I am currently developing a major release to support syntax highlighting in activity streams and emails and also to solve some incompatibilities with other plugins and browser specific problems.
To achieve this, I am changing from clientside highlighting with JavaScript in the browser to serverside highlighting in Java. This means a complete redesign and change of concept.
Therefore I am looking for beta testers to make sure everything works fine before releasing this new major version.
Please read more details here. Thank you very much!
1.9.0Jira Server 5.0 - 6.3.152014-05-15Gherkin language added, bugfix for URLs in XML and keyword added to VB.net Version 1.9.0 • Released 2014-05-15 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)Gherkin language added, bugfix for URLs in XML and keyword added to VB.net
1.8.0Jira Server 5.0 - 6.2.72014-02-26Automatically deactivate Jiras standard code and noformat on install Version 1.8.0 • Released 2014-02-26 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)New in this release
- When installing Jira Syntax Highlighter now Jiras standard code and noformat macros gets deactivated automatically #38; this had to be done manually bei the Jira admin in previous versions
Fixed in this release
1.7.1Jira Server 5.0 - 6.1.92013-09-25Support for Jira 6.1 Version 1.7.1 • Released 2013-09-25 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)- Bugfix for problems with Jira 6.1 because of bug in SyntaxHighlighter initialization in shBrushD.js and shBrushObjC.js as reported in #34: SyntaxHighlighter prevents Jira 6.1 from working correctly
1.7.0Jira Server 5.0 - 6.0.82013-07-12Support for highlighting ranges, starting line number, hide line numbers, title and Pascal, Delphi, D and Diff as new languages Version 1.7.0 • Released 2013-07-12 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)New features for highlighting ranges, starting line number, hide line numbers and title
- {noformat:highlight=[4,8-10]|first-line=3}
- {code:css|hide-linenum|title=general.css file from root folder}
Syntax highlighting for new languages
- Pascal {code:pas} or {code:pascal}, Delphi {code:delphi}
- D {code:d}
- Diff {code:diff}
1.6.3Jira Server 5.0 - 6.0.82013-04-09Bugfix for extra line feeds in Python, Java, CSS and others Version 1.6.3 • Released 2013-04-09 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)- Bugfix for extra line feeds in Python, Java, CSS and others caused by conflict of style classes from SyntaxHighlighter with Jiras style classes
- Bugfix for extra line feeds in Python, Java, CSS and others caused by conflict of style classes from SyntaxHighlighter with Jiras style classes
1.6.2Jira Server 5.0 - 5.2.112013-03-03First steps in bugfix for extra line feeds in Python, Java, CSS and others Version 1.6.2 • Released 2013-03-03 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)- First steps in bugfix for extra line feeds in Python, CSS and others, but please update to version 1.6.3 or higher, which fully fixes this bug.
- First steps in bugfix for extra line feeds in Python, CSS and others, but please update to version 1.6.3 or higher, which fully fixes this bug.
1.6.1Jira Server 5.0 - 5.2.112013-02-10Bugfix for multiple multi line comment for SQL and Java and {code:cs} as additional alias for C# syntax highlighting Version 1.6.1 • Released 2013-02-10 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)- Bugfix for multiple multi line comment for SQL and Java
- Added {code:cs} as alias for C# syntax highlighting
1.6.0Jira Server 5.0 - 5.2.112012-11-06Fixing problems with IE 8 Version 1.6.0 • Released 2012-11-06 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)- Fixing problems with IE 8 by updating to latest JavaScript and CSS sources from https://github.com/alexgorbatchev/SyntaxHighlighter
1.5.3Jira Server 5.0 - 5.1.82012-09-10Support for Bash / Shell Version 1.5.3 • Released 2012-09-10 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)- Syntax highlighting for Bash {code:bash} resp. Shell {code:sh}
1.5.2Jira Server 5.0 - 5.1.82012-09-06Support for SQL multiline comments Version 1.5.2 • Released 2012-09-06 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)- Support for SQL multiline comments
1.5.1Jira Server 5.0 - 5.1.22012-07-11Support for Scala Version 1.5.1 • Released 2012-07-11 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)Support added for
- Scala {code:scala}
1.5.0Jira Server 5.0 - 5.12012-07-07Syntax highlighting also in Greenhopper Rapidboard and Wiki preview during create, edit or comment of an issue Version 1.5.0 • Released 2012-07-07 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)Syntax highlighting now also in Greenhopper Rapidboard and Wiki preview during create, edit or comment of an issue (see screenshots).
1.0.5Jira Server 4.2 - 5.0.72012-07-01Compatibility problems with Greenhopper and Structure plugin fixed Version 1.0.5 • Released 2012-07-01 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)Compatibility problems with Greenhopper and Structure plugin fixed.
Please notice, that syntax highlighting is currently limited to the standard Jira view issue page. Syntax highlighting for issue preview in Greenhopper Rapid Board as well as Wiki preview and Activity Streams will come in version 1.5.0.
1.0.4Jira Server 4.2 - 5.0.72012-06-15Support for Objective-C Version 1.0.4 • Released 2012-06-15 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)Support added for
- Objective-C {code:objc} or {code:obj-c}
1.0.3Jira Server 4.2 - 5.0.72012-04-27Minor enhancements with support for Python and Tcl Version 1.0.3 • Released 2012-04-27 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)Support added for
- Python {code:py} or {code:python}
- Tcl {code:tcl}
1.0.2Jira Server 4.2 - 5.0.72012-02-26Initial release Version 1.0.2 • Released 2012-02-26 • No Vendor Support • Free • Lesser GNU General Public License (LGPL)Initials release with support for
- Plain text renderer {code} resp. {noformat}
- Java {code:java}
- JavaScript {code:js}
- JavaFX {code:javafx}
- SQL {code:sql}
- CSS {code:css}
- XML {code:xml}, XSLT {code:xslt}, XHTML {code:xhtml}, HTML {code:html}
- PHP {code:php}
- Ruby {code:ruby}
- Perl {code:perl}
- C# {code:c#} or {code:csharp}
- C+, C {code:c+} or {code:cpp} resp. {code:c}
- VB {code:vb}, VB.NET {code:vbnet}
Also highlighting of single or multiple lines is supported by using e.g.
- {code:java|highlight=5}
- {noformat:highlight=[4,5]}