<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: WP-Syntax Makes Syntax Highlighting a Snap</title>
	<atom:link href="http://dbachrach.com/blog/2007/07/wp-syntax-makes-highlighting-a-snap/feed/" rel="self" type="application/rss+xml" />
	<link>http://dbachrach.com/blog/2007/07/wp-syntax-makes-highlighting-a-snap/</link>
	<description>a developer blog</description>
	<lastBuildDate>Sun, 07 Mar 2010 06:17:16 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan McGeary</title>
		<link>http://dbachrach.com/blog/2007/07/wp-syntax-makes-highlighting-a-snap/#comment-705</link>
		<dc:creator>Ryan McGeary</dc:creator>
		<pubDate>Sat, 25 Aug 2007 12:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/07/28/wp-syntax-makes-highlighting-a-snap/#comment-705</guid>
		<description>Thanks for the nice write-up.

@theY4Kman, the additional CSS extensions for wp-syntax are designed to keep the line numbers and code in sync.  For example, see the above code snippet.  Line 13 is longer than the box, but the line numbers stay in sync because the line of code doesn&#039;t wrap.

If you&#039;re having troubles, I suspect that other CSS formatting rules are changing the behavior of your pre tags.

Note: There are other things I could have done to make sure the line numbers stay in sync regardless of stylesheets, but another design consideration that I thought was more important was that I wanted copy-n-paste to work without also copying the line numbers.  There&#039;s nothing worse than taking a code example, pasting it to try it out, then realizing you&#039;ve got to manually clean it up first.</description>
		<content:encoded><![CDATA[<p>Thanks for the nice write-up.</p>
<p>@theY4Kman, the additional CSS extensions for wp-syntax are designed to keep the line numbers and code in sync.  For example, see the above code snippet.  Line 13 is longer than the box, but the line numbers stay in sync because the line of code doesn&#8217;t wrap.</p>
<p>If you&#8217;re having troubles, I suspect that other CSS formatting rules are changing the behavior of your pre tags.</p>
<p>Note: There are other things I could have done to make sure the line numbers stay in sync regardless of stylesheets, but another design consideration that I thought was more important was that I wanted copy-n-paste to work without also copying the line numbers.  There&#8217;s nothing worse than taking a code example, pasting it to try it out, then realizing you&#8217;ve got to manually clean it up first.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: theY4Kman</title>
		<link>http://dbachrach.com/blog/2007/07/wp-syntax-makes-highlighting-a-snap/#comment-704</link>
		<dc:creator>theY4Kman</dc:creator>
		<pubDate>Wed, 08 Aug 2007 17:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://dbachrach.com/blog/2007/07/28/wp-syntax-makes-highlighting-a-snap/#comment-704</guid>
		<description>It&#039;s a great plugin, yes, but if you post code that is too long, the line numbers and code become unsynchronized. I&#039;ve been trying to fix that issue without any luck. Another thing is that if you put in other attributes to the  tag, it won&#039;t read it. That&#039;s just a simple fix of the RegEx they&#039;re using, though...</description>
		<content:encoded><![CDATA[<p>It&#8217;s a great plugin, yes, but if you post code that is too long, the line numbers and code become unsynchronized. I&#8217;ve been trying to fix that issue without any luck. Another thing is that if you put in other attributes to the  tag, it won&#8217;t read it. That&#8217;s just a simple fix of the RegEx they&#8217;re using, though&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
