- Use PrismJS 1.22.0 (changelog)
- Use better plugin structure & component naming
- Improve event handling:
- Dynamically handle events based on JIRA version
- Use timeouts to avoid issues with JIRA events getting fired too early
- Log events & times
- Add `jira.webresources:viewissue` as dependency to fix JS errors during page loading
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.
- Look around the forums.
This is a supported app, so you may contact the vendor (or support contact) for help:
Description
Compatible
{code} macro syntax (compatible with original {code} macro)
Line numbers, highlighted lines and more
Line numbers can be enabled and specific lines (and ranges) can be highlighted
Service Desk Support
Supports Jira Service Desk
More details
Prism is a {code} macro plugin for Atlassian Jira.
Features:
- Client side syntax highlighting using Prism
- Support for +200 programming languages
- Line numbers
- Line highlighting
- Commandline with output support
- Whitespace normalization
Check the documentation for more details.
Version history
1.3.2Jira Data Center 7.2.0 - 8.16.12020-10-31Updated JS library, bugfixes & improvements 1.3.2Jira Server 7.2.0 - 8.16.12020-10-31Updated JS library, bugfixes & improvements - Use PrismJS 1.22.0 (changelog)
- Use better plugin structure & component naming
- Improve event handling:
- Dynamically handle events based on JIRA version
- Use timeouts to avoid issues with JIRA events getting fired too early
- Log events & times
- Add `jira.webresources:viewissue` as dependency to fix JS errors during page loading
1.3.1Jira Data Center 7.2.0 - 8.10.12020-06-28Updated JS library, bugfixes & improvements Please check the release notes on Github.
1.3.1Jira Server 7.2.0 - 8.10.12020-06-28Updated JS library, bugfixes & improvements Please check the release notes on Github.
1.2.4Jira Data Center 7.2.0 - 8.8.12019-02-11Initial Data Center release - Prism is now compatible with Data Center version of JIRA
- Add new languages and aliases
- `adoc`: alias for `asciidoc`
- `cil` - `coffee`: alias for `coffeescript`
- `gcode`: G-code
- `hcl`: HashiCorp configuration language
- `javastacktrace`
- `md`: alias for `markdown`
- `n1ql`
- `py`: alias for `python`
- `rb`: alias for `ruby`
- `toml`
- `vala`
- `yml`: alias for `yaml`
1.2.4Jira Server 7.2.0 - 8.8.12019-02-11Added more languages - Prism is now compatible with Data Center version of JIRA
- Add new languages and aliases
- `adoc`: alias for `asciidoc`
- `cil` - `coffee`: alias for `coffeescript`
- `gcode`: G-code
- `hcl`: HashiCorp configuration language
- `javastacktrace`
- `md`: alias for `markdown`
- `n1ql`
- `py`: alias for `python`
- `rb`: alias for `ruby`
- `toml`
- `vala`
- `yml`: alias for `yaml`
1.2.3Jira Server 7.2.0 - 7.13.182018-09-17Update PrismJS ro 1.15.0, added more languages - Updated PrismJS to 1.15.0
- Enabled all new and missing languages
1.2.2Jira Server 7.2.0 - 7.11.22018-04-08Updated PrismJS to 1.13.0 - Updated PrismJS to 1.13.0
- Added new languages: Arduino, Clojure, Lisp, OpenCL, Pug and more.
1.2.1Jira Server 7.2.0 - 7.8.42017-09-30Enable data center compatibility 1.2.0Jira Server 7.2.0 - 7.5.42017-09-16Improvements - Support for adding title
- Support for language parameter (for compatibility)
- Support for setting start line number
- Support for soft line wraps (when line numbers are enabled)
1.1.1Jira Server 7.2.0 - 7.4.62017-09-15Bugfixes Fixes a bug with default language
1.1.0Jira Server 7.2.0 - 7.4.62017-08-30Bug fixes and improvements - Fixed a security bug by enabling {code} macro content autoscaping
- Added whitespace normalization
- Added line numbers
- Added line highlighting
- Added commandline support
- Switched to okaidia theme
1.0.0Jira Server 7.2.0 - 7.4.62017-08-29This is the first release. The source code if this plugin is available on Github.
This plugin uses a slightly modified version of Prism to fix JS compile issues in Atlassian Plugin SDK.
This plugin is released without any support, if you want to add a new feature or fix a bug feel free to submit a PR on Github.
Also check this Jira Server issue regarding {code} macro limitations and why this plugin was developed.
1.3.0Jira Data Center 7.2.0 - 8.10.12020-06-28Updated JS library, bugfixes & improvements Please check the release notes on Github.
1.3.0Jira Server 7.2.0 - 8.10.12020-06-28Updated JS library, bugfixes & improvements Please check the release notes on Github.