Syntax highlighting support in with markdown

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, 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 know what language it is or any way to use the plugin from markdown.

Some googling on the topic didn’t result in any specific answers (some folks have posted on using other plugins et cetera with a self hosted WordPress – but nothing for

Any ideas/pointers? Guess I should also post the question on the Unix stackexchange

Update on 1/1/2012

Using the sourcecode language="xxx" tag works – but you cant have any empty lines in your source.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s