Skip to content

Instantly share code, notes, and snippets.

@stvhwrd
Last active March 4, 2019 00:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stvhwrd/c2574e336b488363a161 to your computer and use it in GitHub Desktop.
Save stvhwrd/c2574e336b488363a161 to your computer and use it in GitHub Desktop.
Create a shortcut so we can launch MacDown from the command line, eg. "macdown readme.md"

####Create a shortcut so we can launch MacDown from the command line:

ln -s /Applications/MacDown.app/Contents/SharedSupport/bin/macdown /usr/local/bin/macdown

Now you can open a Markdown file with macdown myfile.md

or start a new project in the current directory with macdown .

Incidentally, this call only works when MacDown is not already running.



######tested with MacDown Version 0.4.4.1 (624) on Apple MacBook Pro (Late 2011) running OS X 10.10.3

@robertf57
Copy link

This doesn't work for me using MacDown 0.6 and OS X 10.9.5. It just creates a blank document with the name of the given file.

@shinux
Copy link

shinux commented Aug 5, 2016

@robertf57 is right, not work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment