<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog.ubrious &#187; Wordpress</title>
	<atom:link href="http://blog.ubrio.us/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ubrio.us</link>
	<description>An Ordinary Web Developer's Blog</description>
	<lastBuildDate>Fri, 26 Mar 2010 21:00:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GitHub theme for SyntaxHighlighter Wordpress plugin</title>
		<link>http://blog.ubrio.us/code/github-theme-for-syntaxhighlighter-wordpress-plugin/</link>
		<comments>http://blog.ubrio.us/code/github-theme-for-syntaxhighlighter-wordpress-plugin/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 01:20:49 +0000</pubDate>
		<dc:creator>Rob Hurring</dc:creator>
				<category><![CDATA[Because I'll Forget]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.ubrio.us/?p=187</guid>
		<description><![CDATA[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, [...]]]></description>
			<content:encoded><![CDATA[<p>I did a very stupid thing. I automatically updated my <a href='http://wordpress.org/extend/plugins/syntaxhighlighter/' onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/syntaxhighlighter/?referer=');">syntaxhighlighter plugin</a> (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.</p>
<p>So. Here is the theme, should I ever do that again, or if you aren&#8217;t a big fan of the default themes.</p>
<h3>Adding a new theme to SyntaxHighlighter</h3>
<p>If you are use version 2.2.0 of the plugin you can run this patch against it (<a href='http://file.ubrio.us/wordpress/add_github_theme.patch' onclick="pageTracker._trackPageview('/outgoing/file.ubrio.us/wordpress/add_github_theme.patch?referer=');">Add GitHub theme patch</a>). To use the patch just run:</p>
<p><code><span>$></span>patch syntaxhighlighter.php add_github_theme.patch</code></p>
<p>Or you can simply open it up and duplicate how the default themes are in there.</p>
<h3>Grab the GitHub SyntaxHighlighter  Theme</h3>
<p><a href='http://gist.github.com/148782' onclick="pageTracker._trackPageview('/outgoing/gist.github.com/148782?referer=');"> GitHub SyntaxHighlighter theme (Gist)</a> (It isn&#8217;t 100%, but it looks pretty nice for Ruby code)</p>
<h4>Heres how it looks</h4>
<div class='wp-caption alignleft'>
<img src='http://file.ubrio.us/wordpress/github_syntaxhighlighter_theme.png' /></p>
<p class='wp-caption-text'>GitHub Theme</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.ubrio.us/code/github-theme-for-syntaxhighlighter-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
