<?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 coloring for code samples in HTML</title>
	<atom:link href="http://www.johndcook.com/blog/2008/12/11/syntax-coloring-for-code-samples-in-html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johndcook.com/blog/2008/12/11/syntax-coloring-for-code-samples-in-html/</link>
	<description>The blog of John D. Cook</description>
	<lastBuildDate>Sat, 11 Feb 2012 22:42:11 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John</title>
		<link>http://www.johndcook.com/blog/2008/12/11/syntax-coloring-for-code-samples-in-html/comment-page-1/#comment-10872</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 13 Dec 2008 03:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=1082#comment-10872</guid>
		<description>Karl, you&#039;re right. I was confused.</description>
		<content:encoded><![CDATA[<p>Karl, you&#8217;re right. I was confused.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Ove Hufthammer</title>
		<link>http://www.johndcook.com/blog/2008/12/11/syntax-coloring-for-code-samples-in-html/comment-page-1/#comment-10848</link>
		<dc:creator>Karl Ove Hufthammer</dc:creator>
		<pubDate>Fri, 12 Dec 2008 17:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=1082#comment-10848</guid>
		<description>John, I don’t think I understand. People can copy and paste the code directly whether the formatting is done by JavaScript or in advance (both ways of doing it changes the DOM in exactly the same way). While I understand that one might prefer to have formatting done automatically, without having to go through a separate tool, for the reader there is no difference (unless her or she is looking at the actual HTML source code, which there is no need for).</description>
		<content:encoded><![CDATA[<p>John, I don’t think I understand. People can copy and paste the code directly whether the formatting is done by JavaScript or in advance (both ways of doing it changes the DOM in exactly the same way). While I understand that one might prefer to have formatting done automatically, without having to go through a separate tool, for the reader there is no difference (unless her or she is looking at the actual HTML source code, which there is no need for).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.johndcook.com/blog/2008/12/11/syntax-coloring-for-code-samples-in-html/comment-page-1/#comment-10841</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 12 Dec 2008 14:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=1082#comment-10841</guid>
		<description>Hal and Karl: Thanks for the suggestions. The tools you mention sound very useful. However, my preferred solution is not to produce formatted HTML and then paste it into my page. I&#039;d rather the work be done in JavaScript that runs in the client&#039;s browser so that the underlying HTML doesn&#039;t change. That way people can copy and paste the code without having to edit it. Otherwise I&#039;d need two copies of the code: one human-readable and another machine-readable.</description>
		<content:encoded><![CDATA[<p>Hal and Karl: Thanks for the suggestions. The tools you mention sound very useful. However, my preferred solution is not to produce formatted HTML and then paste it into my page. I&#8217;d rather the work be done in JavaScript that runs in the client&#8217;s browser so that the underlying HTML doesn&#8217;t change. That way people can copy and paste the code without having to edit it. Otherwise I&#8217;d need two copies of the code: one human-readable and another machine-readable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Ove Hufthammer</title>
		<link>http://www.johndcook.com/blog/2008/12/11/syntax-coloring-for-code-samples-in-html/comment-page-1/#comment-10829</link>
		<dc:creator>Karl Ove Hufthammer</dc:creator>
		<pubDate>Fri, 12 Dec 2008 11:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=1082#comment-10829</guid>
		<description>There’s always GNU Source-highlight:

http://www.gnu.org/software/src-highlite/

And if you use KDE, the Kate editor has a nice ‘Export to HTML’ feature, and supports very many different languages. (And you can easily download support for new ones from within the program.)</description>
		<content:encoded><![CDATA[<p>There’s always GNU Source-highlight:</p>
<p><a href="http://www.gnu.org/software/src-highlite/" rel="nofollow">http://www.gnu.org/software/src-highlite/</a></p>
<p>And if you use KDE, the Kate editor has a nice ‘Export to HTML’ feature, and supports very many different languages. (And you can easily download support for new ones from within the program.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gene</title>
		<link>http://www.johndcook.com/blog/2008/12/11/syntax-coloring-for-code-samples-in-html/comment-page-1/#comment-10813</link>
		<dc:creator>Gene</dc:creator>
		<pubDate>Fri, 12 Dec 2008 03:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=1082#comment-10813</guid>
		<description>I looked at highlight. It seemed to be functional enough for my purposes. It&#039;s well supported on Linux. I liked the Windows version. It has some nice features.

http://www.andre-simon.de/</description>
		<content:encoded><![CDATA[<p>I looked at highlight. It seemed to be functional enough for my purposes. It&#8217;s well supported on Linux. I liked the Windows version. It has some nice features.</p>
<p><a href="http://www.andre-simon.de/" rel="nofollow">http://www.andre-simon.de/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hal Rottenberg</title>
		<link>http://www.johndcook.com/blog/2008/12/11/syntax-coloring-for-code-samples-in-html/comment-page-1/#comment-10803</link>
		<dc:creator>Hal Rottenberg</dc:creator>
		<pubDate>Thu, 11 Dec 2008 23:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=1082#comment-10803</guid>
		<description>Oh, let me count the ways.  :)

Few ways to go about it. for complete scripts, I put in poshcode.org and use the  embed script and it generate
http://poshcode.org/

I also use windows live writer a lot there is a nice plugin for doing various code embedding, I look for url
WLW Code Snippet plugin is nice: http://tinyurl.com/5eppdt

also, PowerShellPlus can copy as HTML or RTF
http://powershell.com</description>
		<content:encoded><![CDATA[<p>Oh, let me count the ways.  <img src='http://www.johndcook.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Few ways to go about it. for complete scripts, I put in poshcode.org and use the  embed script and it generate<br />
<a href="http://poshcode.org/" rel="nofollow">http://poshcode.org/</a></p>
<p>I also use windows live writer a lot there is a nice plugin for doing various code embedding, I look for url<br />
WLW Code Snippet plugin is nice: <a href="http://tinyurl.com/5eppdt" rel="nofollow">http://tinyurl.com/5eppdt</a></p>
<p>also, PowerShellPlus can copy as HTML or RTF<br />
<a href="http://powershell.com" rel="nofollow">http://powershell.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.339 seconds -->

