views:

653

answers:

3

What'd also interest me is which have more or less dependencies.

A: 

Google is our friend...

First hit: http://syntax.rubyforge.org/chapter-1.html#s1

Zsolt Botykai
+5  A: 

I'm using Coderay (see it in action at the bottom of this article)

Not sure how many (if any) dependencies it has.

Thibaut Barrère
It is much better than ultraviolet
tig
+3  A: 

See also the Ultraviolet library.

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.

Pistos
Ultraviolet is a great library. It has lots of dependencies though (through Textpow and Onigurama, which isn't very easy to install on all old systems)
Fabian Buch
This is true, but I just wanted to throw it out there to ensure many options are covered. :)
Pistos