A Redmine plugin that replaces the repository’s default syntax highlighting engine (CodeRay) with a cool syntax highlighter (render via js on browser).
It uses Alex’s SyntaxHighlighter.
Use Rails’ handy-dandy plugin installer to grab this plugin:
script/plugin install git://github.com/snowyu/redmine_js_syntax_highlighter.git
Alternatively, you can just copy the redmine_js_syntax_highlighter
directory into vendor/plugins/
The highlighter’s default colour scheme (“theme”) is currently shThemeDefault.
Each user can change the colour scheme by going to “My account” and picking the theme from the dropdown list.
-
ActionScript3 as3, actionscript3
-
Bash/Shell bash,shell
-
C/C++ c,cpp
-
C# c-sharp,csharp
-
CSS css
-
ColdFusion cf,codefusion
-
Diff diff,patch
-
Delphi/Pascal delphi,pas,pascal
-
Erlang erl,erlang
-
Groovy groovy
-
Java java
-
JavaFX jfx,javafx
-
JavaScript js,jscript,Javascript
-
PHP php
-
Perl perl,pl
-
Plain Text plain,text
-
Python py,python
-
PowerShell ps,powershell
-
Ruby ruby,ror,rails
-
SQL sql
-
Scala scala
-
XML xml,xhtml,xslt,html
-
Visual Baisc vb, vbnet
-
Originally by Riceball LEE(snowyu) (2011)
Released under the [www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License v2 (GPL)].