how about Redmine switching to the ultraviolet source highighter instead of code ray? It supports just so many more languages and I'm still puzzled how something prevalent as Fortran is not supported by it. I know that some German scientists have written a coderay scanner for Fortran but I can't make it run under Redmine 2.x.
But that's also not the point, if Redmine would use ultraviolet, the vast majority of all languages would be supported.
So is that not something that Redmine should be wanting to do?
RE: ultraviolet? - Added by Scott Neal about 6 years ago
The good news is there's this:
The bad news is I can't get it to work on Redmine 2.x, which makes sense according to the version and compatibility:
Current version: 0.2.2
Compatible with: Redmine 0.8.x, 0.9.x, 1.0.x, 1.1.x, 1.2.x, 1.3.x
Has anyone been able to get this to work on any version of Redmine 2.x?
RE: ultraviolet? - Added by Jean-Baptiste Barth about 6 years ago
You can take a look at : https://github.com/jbbarth/redmine_ultravioletThe question has been asked on IRC last month, I took the most recent fork on Github and tried to adapt it for Redmine 2.3.x. But only bad news here:
- I don't remember the exact reason but basically using old versions of the ultraviolet gem is not really possible
- the "ultraviolet" gem itself is not maintained and buggy (1.0.x uses methods that have been removed years ago in the gem, so I had to monkey patch the gem to re-introduce its own methods)
As for the original question : there's no plan to move to ultraviolet and I don't think it's a good idea. Coderay is not perfect for sure, but if we imagined a switch it would probably be for a client-side highlighter.