A Redmine plugin that replaces the repository’s default syntax highlighting engine (CodeRay) with a nicer one (Ultraviolet).
Overview:
Ultraviolet uses Textmate’s syntax highlighting files, so it supports every language under the sun. And it has lots of themes!
Download & Installation:
First, install Ultraviolet:
# apt-get install libonig-dev # gem install ultraviolet
Next, use Rails’ handy-dandy plugin installer to grab this plugin:
# script/plugin install git://github.com/epitron/redmine_ultraviolet.git
Alternatively, you can just copy the redmine_ultraviolet directory into +vendor/plugins/+
Themes:
The highlighter’s theme is currently hard-wired to use "pastels_on_dark": ultraviolet.rubyforge.org/themes.xhtml#pastels_on_dark
You can change it by modifying DEFAULT_UV_THEME in +lib/ultraviolet_synax_patch.rb+. A configuration option is planned for a future release.
Supported Languages:
|
|
License:
Copyright © 2009 Chris Gahan.
Licensed under the WTFPL. See LICENSE for details.
