(requires pywebkitgtk)
mkdn.py <file>
:!mkdn.py % &
mkdn.py "$*" &
${EDITOR:-vim} "$*"
kill %1
~/.mkdn.template (%s will be replaced by content)
c - copy source to clipboard
s - toggle template
v - toggle view source
any other key will reset the window