Now that I’ve cozied up to Vim/VimRepress combo for posting to this blog, there are a few things where I’m finding issues with posting code. With straight wordpress.com, I used to be able to mark up code with the
tag and syntax highlighting comes in. With markdown – indenting a block of code with 4 spaces renders it as a
<pre><code></code></pre> tags, but I don’t know if there’s a way to let WP.com know what language it is or any way to use the
plugin from markdown.
Some googling on the topic didn’t result in any wp.com specific answers (some folks have posted on using other plugins et cetera with a self hosted WordPress – but nothing for wordpress.com)
Any ideas/pointers? Guess I should also post the question on the Unix stackexchange
Update on 1/1/2012
sourcecode language="xxx" tag works – but you cant have any empty lines in your source.