<?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>Zend Framework Blog &#187; Wordpress syntax highlighting plugins</title>
	<atom:link href="http://blog.richardknop.com/tag/wordpress-syntax-highlighting-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.richardknop.com</link>
	<description>Zend Framework, PHP, Django, Python, SQL, MySQL, PostgreSQL, Oracle, PL/SQL, data model patterns, OOP, design patterns, JavaScript, jQuery, HTML, XHTML, CSS, XML, web services &#38; APIs, Security, E-commerce and much more</description>
	<lastBuildDate>Sat, 04 Feb 2012 19:47:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress syntax highlighting plugins suck</title>
		<link>http://blog.richardknop.com/2009/05/wordpress-syntax-highlighting-plugins-suck/</link>
		<comments>http://blog.richardknop.com/2009/05/wordpress-syntax-highlighting-plugins-suck/#comments</comments>
		<pubDate>Fri, 08 May 2009 18:17:36 +0000</pubDate>
		<dc:creator>Richard Knop</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress syntax highlighting plugins]]></category>

		<guid isPermaLink="false">http://blog.richardknop.com/?p=81</guid>
		<description><![CDATA[During last few days I have tried almost a dozen WordPress add-ons in a search for a good syntax highlighting plugin (not sure if there are any other similar plugins I haven&#8217;t tried) and I must tell you &#8211; they all suck. Choosing a WordPress syntaxt highlighting plugin is about choosing the one that sucks [...]]]></description>
			<content:encoded><![CDATA[<p>During last few days I have tried almost a dozen WordPress add-ons in a search for a good syntax highlighting plugin (not sure if there are any other similar plugins I haven&#8217;t tried) and I must tell you &#8211; they all suck. Choosing a WordPress syntaxt highlighting plugin is about choosing the one that sucks the least.</p>
<p>There are couple of reasons why most of these plugins are bad:</p>
<ol>
<li>Only one of them is completely standards compliant. I understand that for most people this is a nonissue (as long as it works who cares?) but I&#8217;m a web standards freak so for me this is a big no. Come on, when you are developing a WordPress plugin is it that difficult to spend an additional hour or two and make sure it is standards compliant?</li>
<li>Some require already HTML entities escaped code.</li>
<li>For most of them you must write your posts without the visual editor or else your code snippets will break up.</li>
<li>Some use bb tags for code snippets and thus do not degrade gracefully for people with turned off JavaScript (or people who visit your site from a mobile device not supporting JavaScript).</li>
<li>Numerous small but annoying bugs. For example, in one plugin you have to add an additional new line at the beginning of a code snippet or else the first line will be commented.</li>
<li>Very dull out of the box styling. I know I can edit stylesheets but it would be nice to have a pretty balanced colors out of the box for those of us who don&#8217;t have time to fiddle with the plugin.</li>
<li>Not compatible with a newest WordPress release.</li>
</ol>
<p>All plugins I have tried suffer from <strong>at least one</strong> of the issues. I&#8217;m not saying they are completely worthless. They will do the job and highlight the code syntax for you but plugins should make your life easier &#8211; having to edit my posts in the plain HTML editor or having to escape code snippets is a nuisance and not a small one.</p>
<p>For now, I am using the <a href="http://wordpress.org/extend/plugins/highlight-source-pro/">Highlight Source Pro</a> because it is one of few that outputs a valid XHTML markup. Unfortunately, I still have to edit my posts in the HTML editor. Frankly, it isn&#8217;t the best solution but I haven&#8217;t found anything better.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.richardknop.com/2009/05/wordpress-syntax-highlighting-plugins-suck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

