Created
January 17, 2015 14:27
-
-
Save rezkam/6e8ef2d5f69bcecd5f03 to your computer and use it in GitHub Desktop.
Markdown generator from terminal for osx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
id=$(uuidgen | cut -c -8) | |
markdown $1 > /tmp/md-$id | |
open -a "/Applications/Google Chrome.app" file:///tmp/md-$id | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment