What code highlighting libs are there for Ruby?
-
03-07-2019 - |
Question
What'd also interest me is which have more or less dependencies.
Solution
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.
OTHER TIPS
I'm using Coderay (see it in action at the bottom of this article)
Not sure how many (if any) dependencies it has.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow