<?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: Syntax highlighting with Markdown in WordPress</title>
	<atom:link href="http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/</link>
	<description></description>
	<lastBuildDate>Wed, 30 Nov 2011 18:21:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Cameron Bracken</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-17183</link>
		<dc:creator>Cameron Bracken</dc:creator>
		<pubDate>Tue, 01 Dec 2009 05:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-17183</guid>
		<description>&lt;p&gt;You can use the WP-Syntax Colorizer plugin with this hack if the second to last line is changed to&lt;/p&gt;

&lt;p&gt;
return &quot;\n\n&lt;div class=\&quot;wp_syntax\&quot;&gt;\n&quot;.$this-&gt;hashBlock($codeblock).&quot;\n&lt;/div&gt;\n\n&quot;;&lt;/pre&gt;
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You can use the WP-Syntax Colorizer plugin with this hack if the second to last line is changed to</p>

<p>
return &quot;\n\n&lt;div class=\&quot;wp_syntax\&quot;&gt;\n&quot;.$this-&gt;hashBlock($codeblock).&quot;\n&lt;/div&gt;\n\n&quot;;
</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Abrahams</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-16390</link>
		<dc:creator>Dave Abrahams</dc:creator>
		<pubDate>Fri, 18 Sep 2009 02:28:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-16390</guid>
		<description>&lt;p&gt;Another problem:  try&lt;/p&gt;

&lt;pre&gt;
~~~
#include 
~~~
&lt;/pre&gt;

&lt;p&gt;Markdown picks up &quot;#include&quot; and treats it as a section header&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another problem:  try</p>

<pre>
~~~
#include 
~~~
</pre>

<p>Markdown picks up &#8220;#include&#8221; and treats it as a section header</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Abrahams</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-16372</link>
		<dc:creator>Dave Abrahams</dc:creator>
		<pubDate>Sun, 30 Aug 2009 02:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-16372</guid>
		<description>&lt;p&gt;It looks like wp-syntax using the&lt;/p&gt;

&lt;p&gt;
&lt;pre&gt;&lt;pre lang=&quot;xxx&quot;&gt;
...
&lt;/pre&gt;&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;syntax is still a bit more careful than markdown with this particular patch about not interfering with other WP formatting.  If I put an unmatched &quot;[&quot; in a markdown code block (e.g. in a comment), any straight quotes in later non-code text are displayed straight rather than the WP default of making them curly.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It looks like wp-syntax using the</p>

<p>
<pre>&lt;pre lang=&quot;xxx&quot;&gt;
...
&lt;/pre&gt;</pre>
</p>

<p>syntax is still a bit more careful than markdown with this particular patch about not interfering with other WP formatting.  If I put an unmatched &#8220;[&#8221; in a markdown code block (e.g. in a comment), any straight quotes in later non-code text are displayed straight rather than the WP default of making them curly.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Abrahams</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-16368</link>
		<dc:creator>Dave Abrahams</dc:creator>
		<pubDate>Sat, 22 Aug 2009 18:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-16368</guid>
		<description>&lt;p&gt;I&#039;ve made some modifications that allow this to work with PhP Markdown Extra&#039;s &quot;fenced code blocks&quot; and allow the addition of line numbering as follows:&lt;/p&gt;

&lt;p&gt;{{lang=cpp,line=1}}&lt;/p&gt;

&lt;p&gt;If anyone&#039;s interested, please let me know:  dave-AT-boostpro-DOT-com&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve made some modifications that allow this to work with PhP Markdown Extra&#8217;s &#8220;fenced code blocks&#8221; and allow the addition of line numbering as follows:</p>

<p>{{lang=cpp,line=1}}</p>

<p>If anyone&#8217;s interested, please let me know:  dave-AT-boostpro-DOT-com</p>]]></content:encoded>
	</item>
	<item>
		<title>By: FractalizeR</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-14881</link>
		<dc:creator>FractalizeR</dc:creator>
		<pubDate>Mon, 12 Jan 2009 12:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-14881</guid>
		<description>&lt;p&gt;Can I suggest my syntax highlighter for WordPress? It works ok in GUI mode unlike others&lt;/p&gt;

&lt;p&gt;http://wordpress.org/extend/plugins/wp-synhighlight&lt;/p&gt;

&lt;p&gt;It utilizes shortcodes to mark code snippets.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Can I suggest my syntax highlighter for WordPress? It works ok in GUI mode unlike others</p>

<p><a href="http://wordpress.org/extend/plugins/wp-synhighlight" rel="nofollow">http://wordpress.org/extend/plugins/wp-synhighlight</a></p>

<p>It utilizes shortcodes to mark code snippets.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Conal Elliott</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-674</link>
		<dc:creator>Conal Elliott</dc:creator>
		<pubDate>Thu, 10 Apr 2008 23:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-674</guid>
		<description>&lt;p&gt;hm.  got the code block but not the lines.  trying again w/o the code block.&lt;/p&gt;

&lt;p&gt;between lines&lt;/p&gt;

&lt;p&gt;that&#039;s it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hm.  got the code block but not the lines.  trying again w/o the code block.</p>

<p>between lines</p>

<p>that&#8217;s it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Conal Elliott</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-673</link>
		<dc:creator>Conal Elliott</dc:creator>
		<pubDate>Thu, 10 Apr 2008 23:05:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-673</guid>
		<description>&lt;p&gt;Thanks for the test, Dougal.  The following code and horizontal rule don&#039;t work in comments (other than from me) on &lt;a href=&quot;http://conal.net/blog&quot; rel=&quot;nofollow&quot;&gt;my blog&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;
&lt;pre&gt;foo :: Bar&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;I do have Filosofo Comments Preview plugin.  Perhaps it could be interfering, though I have this same issue with the plugin is deactivated.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for the test, Dougal.  The following code and horizontal rule don&#8217;t work in comments (other than from me) on <a href="http://conal.net/blog" rel="nofollow">my blog</a>:</p>

<p>
<pre>foo :: Bar</pre>
</p>

<p>I do have Filosofo Comments Preview plugin.  Perhaps it could be interfering, though I have this same issue with the plugin is deactivated.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-665</link>
		<dc:creator>Dougal</dc:creator>
		<pubDate>Thu, 10 Apr 2008 20:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-665</guid>
		<description>&lt;p&gt;Hi Conal. I just tested the code block facility on this blog and it seems to work. But I&#039;m not really sure what the problem is. Could you paste something in that doesn&#039;t work for you? Cheers!&lt;/p&gt;

&lt;h3&gt;Language-specific highlights:&lt;/h3&gt;

&lt;p&gt;&lt;div&gt;
&lt;pre class=&quot;haskell&quot;&gt;main = &lt;span style=&quot;color: #06c; font-weight: bold;&quot;&gt;do&lt;/span&gt; string &lt;- &lt;a href=&quot;http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:getLine&quot; rel=&quot;nofollow&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;getLine&lt;/span&gt;&lt;/a&gt;
          &lt;span style=&quot;color: #06c; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;a href=&quot;http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:null&quot; rel=&quot;nofollow&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;null&lt;/span&gt;&lt;/a&gt; string
             &lt;span style=&quot;color: #06c; font-weight: bold;&quot;&gt;then&lt;/span&gt; &lt;span style=&quot;background-color: #3cb371;&quot;&gt;&quot;You didn&lt;span style=&quot;&quot;&gt;&#039;&lt;/span&gt;t write anything!&lt;span style=&quot;&quot;&gt;&quot;&lt;/span&gt;
             else (&lt;span style=&quot;&quot;&gt;&quot;&lt;/span&gt;You wrote&lt;span style=&quot;&quot;&gt;&quot;&lt;/span&gt; ++ string)&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/p&gt;

&lt;h3&gt;Non-specific code block:&lt;/h3&gt;

&lt;p&gt;&lt;div&gt;
&lt;pre&gt;$ cat .ssh/config
Host *example.com
User dougal
ForwardX11 yes&lt;/pre&gt;
&lt;/div&gt;&lt;/p&gt;

&lt;h3&gt;And the amazing horizontal line game:&lt;/h3&gt;

&lt;hr /&gt;

&lt;p&gt;Edit: Well, maybe not the prettiest but it all seems to be working. :-&#92;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Conal. I just tested the code block facility on this blog and it seems to work. But I&#8217;m not really sure what the problem is. Could you paste something in that doesn&#8217;t work for you? Cheers!</p>

<h3>Language-specific highlights:</h3>

<p><div>
<pre class="haskell">main = <span style="color: #06c; font-weight: bold;">do</span> string &lt;- <a href="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:getLine" rel="nofollow"><span style="font-weight: bold;">getLine</span></a>
          <span style="color: #06c; font-weight: bold;">if</span> <a href="http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:null" rel="nofollow"><span style="font-weight: bold;">null</span></a> string
             <span style="color: #06c; font-weight: bold;">then</span> <span style="background-color: #3cb371;">&quot;You didn<span style="">'</span>t write anything!<span style="">&quot;</span>
             else (<span style="">&quot;</span>You wrote<span style="">&quot;</span> ++ string)</span></pre>
</div></p>

<h3>Non-specific code block:</h3>

<p><div>
<pre>$ cat .ssh/config
Host *example.com
User dougal
ForwardX11 yes</pre>
</div></p>

<h3>And the amazing horizontal line game:</h3>

<hr />

<p>Edit: Well, maybe not the prettiest but it all seems to be working. :-&#92;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Conal Elliott</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-663</link>
		<dc:creator>Conal Elliott</dc:creator>
		<pubDate>Thu, 10 Apr 2008 18:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-663</guid>
		<description>&lt;p&gt;I&#039;m having a problem with markdown in post comments made by other users.  The inline  markup (e.g., &lt;em&gt;foo&lt;/em&gt; and &lt;code&gt;bar&lt;/code&gt;) comes through fine, but not &quot;block markup&quot; like code blocks (indented by four), sections or horizontal rules.&lt;/p&gt;

&lt;p&gt;Any ideas?  Thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m having a problem with markdown in post comments made by other users.  The inline  markup (e.g., <em>foo</em> and <code>bar</code>) comes through fine, but not &#8220;block markup&#8221; like code blocks (indented by four), sections or horizontal rules.</p>

<p>Any ideas?  Thanks.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ConalBlog &#187; Blog Archive &#187; Switching blog engines</title>
		<link>http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress/comment-page-1/#comment-228</link>
		<dc:creator>ConalBlog &#187; Blog Archive &#187; Switching blog engines</dc:creator>
		<pubDate>Thu, 17 Jan 2008 02:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress#comment-228</guid>
		<description>&lt;p&gt;[...] steps are described in a post on Syntax highlighting with Markdown in WordPress. It uses a combination of PHP Markdown Extra and GeSHi (Generic Syntax Highlighter), plus a small [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[&#8230;] steps are described in a post on Syntax highlighting with Markdown in WordPress. It uses a combination of PHP Markdown Extra and GeSHi (Generic Syntax Highlighter), plus a small [&#8230;]</p>]]></content:encoded>
	</item>
</channel>
</rss>

