A simple ST2 plugin to help you preview your markdown files, and send them to Tumblr.
Installation :
- Clone the repository
git clone https://github.com/blakeanderson/sublimetext-markdown-preview.git MarkdownPreview-
Place the plugin in your Sublime Text 2
Packagesdirectory -
OS X:
~/Library/Application Support/Sublime Text 2/Packages/ -
Windows:
%APPDATA%/Sublime Text 2/Packages/ -
Linux:
~/.Sublime Text 2/Packages/
Settings :
For the plugin to work, you will need to update MarkdownPreview.sublime-settings
Add your Tumblr username and password.
MarkdownPreview.sublime-settings
{
// Tumblr Username
"email": "",
// Tumblr Password
"password": "",
}
Usage :
- use
cmd+shift+PthenMarkdownPreview: publish current file to Tumblrto send the current file to Tumblr and mark it as published - use
cmd+shift+PthenMarkdownPreview: send current file to Tumblr as a draftto launch send the current file to Tumblr as a draft
Uses :
- python-markdown for markdown parsing
- clownfart markown.css for markdown styling
The tumblr fork code is available at github https://github.com/blakeanderson/sublimetext-markdown-preview
Licence MIT : http://revolunet.mit-license.org