daylerees / colour-schemes

Colour schemes for a variety of editors created by Dayle Rees.
http://daylerees.github.io
Other
9.3k stars 1.62k forks source link

Add support for jekyll syntax highlighting themes. #192

Closed matt-allan closed 8 years ago

matt-allan commented 8 years ago

Hi Dayle,

I love the peacock theme so much I wanted to use it on github pages, so I added support for generating github pages themes.

Since github pages uses jekyll 3, these stylesheets are for the rouge syntax highlighter used in Jekyll 3 and above.

Here is a screenshot of the output in a github pages / jekyll site:

peacock-gh-pages

The rouge lexers each have their own quirks and don't render 100% the same as sublime or the preview. I tried to make them as accurate as possible. The stylesheet could probably be tweaked more but these settings seemed the most consistent for ruby, java, and php.

The tokens are from pygments, so you can read documentation over here on what the css classes mean.

To use a theme, you just need to include the css in your jekyll site.

daylerees commented 8 years ago

Thanks for this! :)