Created
December 3, 2011 18:15
-
-
Save masukomi/1427738 to your computer and use it in GitHub Desktop.
opening Markdown files in Marked
This file contains 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
# add the following to your ~/.bashrc to open any markdown file in Marked | |
# usage: marked my_markdown_file.md | |
# this will work the next time you launch a terminal or refresh your shell. | |
function marked { | |
open -a Marked $1 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment