Skip to content
markdown previewer (python, gtk, webkit)
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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
Something went wrong with that request. Please try again.