markdown previewer (python, gtk, webkit)
Python
Latest commit 2e43ac2 Jul 20, 2011 @rupa strip utf8 BOMs from html
Permalink
Failed to load latest commit information.
README.mkdn
mkdn.py

README.mkdn

markdown previewer

(requires pywebkitgtk)

cli:

mkdn.py <file>

in vim:

:!mkdn.py % &

wrap it in a shell script:

mkdn.py "$*" &
${EDITOR:-vim} "$*"
kill %1

template:

~/.mkdn.template (%s will be replaced by content)

commands:

c - copy source to clipboard
s - toggle template
v - toggle view source
any other key will reset the window