A simple ST2 plugin to help you preview your markdown files.
Preview the current md file in your web browser.
Installation :
- you should use sublime package manager
- use
cmd+shift+P
thenPackage Control: Install Package
- look for
MarkdownPreview
and install it.
Usage :
- use
cmd+shift+P
thenMarkdownPreview
to launch a preview - or bind some key in your user key binding, using a line like this one:
{ "keys": ["alt+m"], "command": "markdown_preview", "args": {"target": "browser"} },
- once converted a first time, the output HTML will be updated on each file save
Uses :
- python-markdown for markdown parsing
- clownfart markown.css for markdown styling
The code is available at github https://github.com/revolunet/sublimetext-markdown-preview
Licence MIT : http://revolunet.mit-license.org