Skip to content

Instantly share code, notes, and snippets.

@masukomi
Created December 3, 2011 18:15
Show Gist options
  • Save masukomi/1427738 to your computer and use it in GitHub Desktop.
Save masukomi/1427738 to your computer and use it in GitHub Desktop.
opening Markdown files in Marked
# 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