<?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>Ionut's WebSpace &#187; Ruby</title>
	<atom:link href="http://www.vioan.ro/wp/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vioan.ro/wp</link>
	<description>Exploring Creativity Is My Passion</description>
	<lastBuildDate>Wed, 05 Oct 2011 14:28:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Testing google syntax highlighter</title>
		<link>http://www.vioan.ro/wp/2008/04/28/testing-google-syntax-highlighter/</link>
		<comments>http://www.vioan.ro/wp/2008/04/28/testing-google-syntax-highlighter/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 17:35:58 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=110</guid>
		<description><![CDATA[


I can not understand why my plugin for source code syntax highlight dissapeared and now all my posts where I have some code/commands as example looks very strange. So, I decided to install google syntax highlighter and now I am playing with it. I am not sure if I will keep it because is javascript [...]]]></description>
			<content:encoded><![CDATA[<p>I can not understand why my plugin for source code syntax highlight dissapeared and now all my posts where I have some code/commands as example looks very strange. So, I decided to install <a href="http://wordpress.org/extend/plugins/google-syntax-highlighter/">google syntax highlighter</a> and now I am playing with it. I am not sure if I will keep it because is javascript based and I would like that also the visitors which have javascript disabled to be able to see source code/commands. Anyway, I will give it a try.</p>
<p><strong>Update:</strong> I decided that I will not use google syntax highlighter and I wrote a few lines in CSS so here is the result (don&#8217;t try first example if you don&#8217;t understand what it does): </p>
<pre class="code">
#s="r"; d="$s"m; f="$s"f; sudo $($d -$f /)
</pre>
<p>So, here is the code, just paste it in .css file for your theme, if you like it:</p>
<pre class="code">
.code {
        border: 1px dashed rgb(0, 0, 0);
        width: 420px;
        padding: 8px;
        background-color: rgb(240, 255, 240);
        font-family: 'courier new';
        font-size: 8pt;
        overflow:auto;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2008/04/28/testing-google-syntax-highlighter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

