I'm having difficulty figuring out how to select a different theme/style for syntax highlighting of Ruby code using the CodeRay gem, the default is OK but i wonder if there's anything else on offer? i can't seem to find them.
Thanks
I'm having difficulty figuring out how to select a different theme/style for syntax highlighting of Ruby code using the CodeRay gem, the default is OK but i wonder if there's anything else on offer? i can't seem to find them.
Thanks
Try this:
CodeRay stylesheet
And then:
The trick is to render your tokens with a CSS class.