How to change the color of an octopress code block on github, how is the color?

October (dark)
a busy cat

Octopress (Light) a busy cat

Github
a busy cat

The default color for Octopress is not so good, how to change the color of the code block on Github-like?

+6
source share
1 answer

I had the same problem, but I wanted the Twilight color scheme in my posts.

You can use kramdown and CodeRay instead of rdiscount, which allows you to choose the color associated with each code object in your snippets. I wrote a blog post on how to do this:

http://blog.alestanis.com/2013/02/04/octopress-and-the-twilight-color-scheme/

EDIT:

I found the GitHub theme for coderay here .

+4
source

All Articles