I've started using Vim and VimRepress plugin to blog. My blog is on Wordpress.com - so I cannot install plugins etc. A lot of my posts have code snippets in them - and in Markdown syntax, I indent them 4 spaces so they get rendered as a pre/code tag. Is there anyway to mimic the behavior of the Wordpress.com [sourcecode] tag so I can get proper syntax highlighted code snippets in my blog posts?
1 Answer
So, I've discovered that the WP.com [sourcecode language="xxx"]
tags work with markdown/VimRepress with a caveat - Dont have any empty lines in the code. It may work properly with 4 spaces on the line - but haven't tried that yet.