Fabian Buch
Fabian Buch

Reputation: 831

What code highlighting libs are there for Ruby?

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

Upvotes: 5

Views: 1492

Answers (3)

Pistos
Pistos

Reputation: 23792

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.

Upvotes: 4

Thibaut Barrère
Thibaut Barrère

Reputation: 8873

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

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

Upvotes: 7

Related Questions