Ultraviolet is a syntax highlighting engine based on Textpow. Since it uses Textmate syntax files, it offers out of the box syntax highlighting for more than 50 languages and 20 themes.

Ultraviolet is at the same time a stand-alone command line utility and a Ruby library.


If you have rubygems installation is straightforward by typing (as root if needed):

gem install -r ultraviolet --include-dependencies

If you prefer to get the sources, the last stable version may be downloaded here.


The current version of Ultraviolet is able to produce html output for all the syntaxes in textmate's repository. Further work will be done to produce latex output.