decent syntax highlights in wordpress posts

November 26, 2006

test, test, test...

i'm about to tweak Dan Webbs CodeHighlighter into my wordpress theme.

So expect this post to fizzle quite unexpectedly...
und danke fuer die beachtung aller sicherheitsmassnahmen

def bar 
   puts "bar"
end

def foo(a, b => { :one => 1, :two => "zwei"  })
    puts "#{self}"
end

not quiet
yep, it works.

CodeHighlighter is nice, unobtrusive. The only mess was getting to grips with the wordpress php template stuff. CSS style needs and will get some fixes though.

have fun

share this: