We have the jira Syntax Highlighter installed on our installation, but prefer the default noformat functionality, so I disabled the noformat module of Jira Syntax Highlighter and re-enabled the system default one (Wiki Renderers Plugin)
This works, but when I restart Jira, the default noformat becomes disabled again - although the Jira Syntax Highlighter doesn't get re-enabled, so neither is active and any use of "noformat" breaks. We have to manually re-enable the system default version after restarting Jira. Is there something in the Jira Syntax Highlighter which causes the system default to be fail? Can this be removed so we don't have to remember to re-enable it after a restart?
I submitted a pull request that fixes this issue. We'll see if gets merged in...
Also, this: https://bitbucket.org/hski/syntaxplugin-public/issue/56/disabling-noformat-does-not-fall-back-to
What's the reason, why you want to continue to use JIRAs standard {noformat} macro and don't want to use JIRA Syntax Highlighter also for {noformat}?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I personally don't have a problem with your noformat macro, it's just that the users are used to the native noformat macro and don't want to see it change. When they see it change (or not work at all due to it being disabled after a restart) they think that JIRA is broken. Personally, I feel like your plugin should really be two separate plugins so that folks have a bit more flexibility. Either that or make it configurable such that the noformat macro can be disabled in favor of the native noformat macro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But this is the same change as you had, when introducing {code} in your JIRA instance. There is a change in layout because of the plugin and this has to be communicated to the users so that they understand that the new layout of {noformat} is not a bug. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think you understand. Users want flexibility. I agree this isn't a bug. It is, however, an improvement and a convenience on the JIRA Admins. Admins don't want to enable a plugin that shouldn't be getting disabled and users don't want to see changes to something that they already know and love (JIRA's native "noformat" macro). With that said, I think a reasonable change would be to make your noformat macro look exactly like JIRA's noformat macro. Doing that would make this a non-issue as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Two things make us prefer the standard noformat:
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you check if 1. is now fine with version 2.0.0? For 2. I will have a look. I was not aware of this automatically introduced vertical scroll bars for long code blocks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The line numbers were addressed in 2.0.0, but the long scroll bars was still the case. My users are keen to remind me after we upgraded. Oddly enough, noformat was listed as disabled but still seemed to be working. Had to enable/disable it and then re-enable the system default to get that to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was not aware of this max-height: 30em; of the standard JIRA noformat and code renderer. Please follow and comment here for this enhancement request for the plugin. https://bitbucket.org/hski/syntaxplugin-public/issue/12 (The issue actually startet with introducing a new parameter for height.) Hope that this would fix your concerns about have JIRA Syntax Highlighter noformat macro enabled. Cheers, Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Version 2.1.0 with max-height: 30em; to add vertical scroll bar for very long code or noformat blocks as been released.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Installed it, re-disabled the system default and enabled yours, and the users I asked seemed happy with it. Personally the only quibble I have is that the stock one had a slightly darker background which made it stand out, but the users didn't mind that too much. Other than that, it looks good, thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah - the gray/darker background was noticed by the users and the permanent horizontal and vertical scrollbars being present when they aren't needed. Other than that, it looks good and resolves our issue with it disabling the built in wiki {noformat} when its own {noformat} was already disabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you still have the problem of unneeded permanent vertical and horizontal scrollbars? From my point of view this should be fixed (but testing all browsers and operation systems is not possible for me...)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Two things make us prefer the standard noformat:
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We're the same way - we love everything but {noformat}, so we get bit by the whole "upgrade Jira or the plugin, restart and {noformat} is disabled in both places" issue. I invariably forget to re-enable the system wiki {noformat} and the kind, gentle users I work with nicely remind me the next day. (Hello Hector, I know you're going to read this ;)) -Kelly G. Schoenhofen
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.