It turns out that once I get bothered by something it doesn’t take me very long to work on it. I added an additional syntax to support passing all of the SyntaxHighlighter parameters in as JSON. The first method looks like this:
#!ruby
class Foo < Bar
def hello
puts "Hello World!"
end
end
This works as before and properly sets the brush type:
class Foo < Bar
def hello
puts "Hello World!"
end
end
The second method looks like this:
#!!{"brush":"ruby","toolbar":"false","highlight":"[2,3,4]"}
class Foo < Bar
def hello
puts "Hello World!"
end
end
This one appends all of the valid parameters as class names so that SyntaxHighlighter can do its business:
class Foo < Bar
def hello
puts "Hello World!"
end
end
It’s pretty darn nifty, though I discovered that the plugin seems to have a problem with more than one code block in a post, like this one. I guess that's next up in the to-fix list!

Hi,
Thanks for writing this plug in. I too am looking for a good markdown solution to handle code. I’m new to wordpress though and was wondering if this was in the plugins section of wordpress.org. I like that section because I can review comments and ratings, etc. Thanks again.
Julio
Hi Julio,
It’s not, because wordpress enforces that you use the GPL as your license. I’ve never liked the GPL, but I suppose I don’t care enough to make a stand over something so small. Really, I was waiting to see if anybody else found this useful first. You win. ;-)