GitHub theme for SyntaxHighlighter Wordpress plugin
I did a very stupid thing. I automatically updated my syntaxhighlighter plugin (which is excellent by the way) through the wordpress admin panel. I also forgot that I had made a custom theme and added a few more matchers to the ruby brush, which were subsequently overwritten in the update. Bummer.
So. Here is the theme, should I ever do that again, or if you aren’t a big fan of the default themes.
Adding a new theme to SyntaxHighlighter
If you are use version 2.2.0 of the plugin you can run this patch against it (Add GitHub theme patch). To use the patch just run:
$>patch syntaxhighlighter.php add_github_theme.patch
Or you can simply open it up and duplicate how the default themes are in there.
Grab the GitHub SyntaxHighlighter Theme
GitHub SyntaxHighlighter theme (Gist) (It isn’t 100%, but it looks pretty nice for Ruby code)
Heres how it looks
GitHub Theme







Add Yours
YOU