<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Dustin Bachrach Blog - Latest Comments in WP-Syntax Makes Syntax Highlighting a Snap</title><link>http://dbachrach.disqus.com/</link><description></description><atom:link href="https://dbachrach.disqus.com/wp_syntax_makes_syntax_highlighting_a_snap/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 25 Aug 2007 08:48:57 -0000</lastBuildDate><item><title>Re: WP-Syntax Makes Syntax Highlighting a Snap</title><link>http://dbachrach.com/blog/2007/07/wp-syntax-makes-highlighting-a-snap/#comment-8287669</link><description>&lt;p&gt;Thanks for the nice write-up.&lt;/p&gt;&lt;p&gt;@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't wrap.&lt;/p&gt;&lt;p&gt;If you're having troubles, I suspect that other CSS formatting rules are changing the behavior of your pre tags.&lt;/p&gt;&lt;p&gt;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's nothing worse than taking a code example, pasting it to try it out, then realizing you've got to manually clean it up first.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan McGeary</dc:creator><pubDate>Sat, 25 Aug 2007 08:48:57 -0000</pubDate></item><item><title>Re: WP-Syntax Makes Syntax Highlighting a Snap</title><link>http://dbachrach.com/blog/2007/07/wp-syntax-makes-highlighting-a-snap/#comment-8287668</link><description>&lt;p&gt;It's a great plugin, yes, but if you post code that is too long, the line numbers and code become unsynchronized. I'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't read it. That's just a simple fix of the RegEx they're using, though...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">theY4Kman</dc:creator><pubDate>Wed, 08 Aug 2007 13:44:51 -0000</pubDate></item></channel></rss>