jQuery.Syntax WordPress Plugin

To install this plugin, simply download the zip file and install it by extracting the contents into {wordpress}/wp-content/plugins/.

Example Post

Here is the code for a WordPress post:

This is some source code:

<pre class="syntax brush-ruby">
plural = 's'
99.downto(1) do |i|
  puts "#{i} bottle#{plural} of beer on the wall,"
  puts "#{i} bottle#{plural} of beer"
  puts "Take one down, pass it around!"
  plural = '' if i - 1 == 1
  if i > 1
    puts "#{i-1} bottle#{plural} of beer on the wall!"
    puts
  else
    puts "No more bottles of beer on the wall!"
  end
end
</pre>

Here is the resulting post in a default install of WordPress: