<?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>Bruce van der Kooij &#187; hybrid</title>
	<atom:link href="http://blog.parsed.nl/tag/hybrid/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.parsed.nl</link>
	<description>Unfinished business.</description>
	<lastBuildDate>Fri, 16 Dec 2011 07:50:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Customized the styling for WP-Syntax</title>
		<link>http://blog.parsed.nl/2009/06/10/customized-the-styling-for-wp-syntax/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customized-the-styling-for-wp-syntax</link>
		<comments>http://blog.parsed.nl/2009/06/10/customized-the-styling-for-wp-syntax/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 02:57:39 +0000</pubDate>
		<dc:creator>Bruce van der Kooij</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hybrid]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://parsed.nl/?p=135</guid>
		<description><![CDATA[I wanted to post a diff earlier today so I started by looking for a WordPress plugin that would integrate a syntax highlighter, I quickly found in the form of WP-Syntax which utilizes GeSHi (a server side syntax highlighter). However, turns out the default Hybrid theme applies an ugly background image to any pre tags. [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted  to post a diff earlier today so I started by looking for a WordPress plugin that would integrate a syntax highlighter, I quickly found in the form of <a href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a> which utilizes <a href="http://qbnz.com/highlighter/">GeSHi</a> (a server side syntax highlighter). However, turns out the default Hybrid theme applies an ugly background image to any pre tags.</p>
<p>I didn&#8217;t stop to try and figure out what The One True Way (TM) was so I just edited the relevant CSS files directly. The files I changed were wp-content/themes/hybrid/library/css/screen.css (to remove background) and  wp-content/plugins/wp-syntax/wp-syntax.css (to change the wrapping to pre-wrap).</p>
<p>For a lot of WP-Syntax examples take a look at the <a href="http://www.emacsblog.org/">Emacs Blog</a>.</p>
<p><strong>TODO:</strong></p>
<ul>
<li>Turns out the <a href="http://wordpress.org/extend/plugins/wp-syntax/other_notes/">correct way to modify wp-syntax.css</a> was described in the notes section of the WP-Syntax plugin page:</li>
</ul>
<blockquote><p>To customize your styling, copy the default wp-content/plugins/wp-syntax/wp-syntax.css to your theme&#8217;s template directory and modify it. If a file named wp-syntax.css exists in your theme&#8217;s template directory, this stylesheet is used instead of the default.</p></blockquote>
<ul>
<li>Seems the border is a bit buggy.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.parsed.nl/2009/06/10/customized-the-styling-for-wp-syntax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

