#How to use this package
This is a shell script and applescript combo that will do three things:
- create a new markdown file in the 'markdown-drafts' folder
- and then open it in textmate
- and then open the preview in marked
I recommend you drop the entire 'markdown-drafts' folder in dropbox. That's where I'm putting it, anyway.... But move the New_post.scpt file (or a copy of it) to your /LIBRARY/SCRIPTS/ folder so it can be run from your menu bar. You will also have to run (from terminal) chmod +x /Users/username/Dropbox/markdown-drafts/scripts/newpost.sh to make the shell script executable.
###Credits
- Grigory V for the shell script
- Hat tip to the excellent Brett Terpstra for continued textmate-fu and for Marked.