rubychan/coderay — Issue #9: Feature Request: use ~/.coderayrc or allow another means to customize the colours on commandline
Author: shevegen
Created: 2011-12-15 13:26:00+00:00
State: open

Hello.

I have a file called foo.rb

I do this in bash:

cat foo.rb | coderay -ruby

This works and this outputs nice colours. Which is what I was searching for.

There is just one thing:

I do not know how to modify those colours. If I have black background, then
darkblue colours are hard to see.

Thus, I wish to modify the colours. But I do not know how. I could perhaps
patch the source to coderay for me, which is possible. But I want something
more elegant.

I propose either the addition of a .coderayrc file, where colours can be defined.

Or, commandline switch to use different colour-profiles.

PS: I think right now my only workaround is to modify the .rb files for coderay,
right?