WordPress Syntax Highlighting
It simply works.
def hello puts "hello" end
The explanation, from the FAQ.
No more pastie for this blog (but I keep using it in other contexts).
WordPress.com is a great platform.
Via Emmanuel Oga.
Update : Barry Hess had an issue with Markdown and Syntax Highlighting. I guess it doesn’t concern people like me who simply have a wordpress.com account.
Update : Firefox is no friend with this trick. Whenever I have a post that uses it, I edit it with Safari, works like a charm.
Be aware that if you ever bring in an alternative markup language, like Markdown, you may have problems with this solution. I had problems with SyntaxHighlighter and Markdown that caused me to move to an alternative syntax highlighter.
Just wanted to get the warning out there. :)
Barry Hess
October 17, 2007 at 3:31 pm
Bother, here’s the real link describing my problems.
Barry Hess
October 17, 2007 at 3:32 pm
Hi Barry,
thanks for the information, my needs are limited to Ruby and XML, updating the post with a link to your description of the issue.
Thanks,
John
John Mettraux
October 17, 2007 at 10:59 pm
Cool, John. Good to get the word out there as much as possible. :)
Barry Hess
October 18, 2007 at 12:37 am
[...] like Syntax Highlighted content input works better from Safari, Firefox seemed to get in the way… [...]
cron schedule, to the second « processi
October 18, 2007 at 11:39 pm
Try
http://wordpress.org/extend/plugins/wp-synhighlight
FractalizeR
January 12, 2009 at 12:17 pm