WP-Syntax

I’ve installed WP-Syntax on my blog. It will help brighten up my lines of code.

It was an easy install and pretty easy to use. Intead, of just using the pre html tag, I know do something like this:

pre lang=”ruby” line=”1″
#put some ruby code
Categories.find(:all, :conditions => ['cool_field = ?', 'awesome'])
pre

1
2
#put some ruby code
Categories.find(:all, :conditions => ['cool_field = ?', 'awesome'])

or html

pre lang=”html4strict” line=”1″>

Title me

That car was bright blue.

pre

1
2
3
<!-- comment -->
<h1>Title me</h1>
<p>That car was bright blue.</p>

Comments

  1. Scott | August 17, 2008

    Well, by golly, it worked. That’s good. What a relief.

  2. Scott | August 17, 2008

    =)

  3. Scott | August 17, 2008

    This is a test. Testing the new followup comments via e-mail plugin.

  4. scott | August 17, 2008

    Well myself. Let’s see if it worked.

  5. iPhone scott | August 17, 2008

    let me try from a different “computer”