Skip to content

Instantly share code, notes, and snippets.

@dkoppel
Created December 19, 2014 07:08
Show Gist options
  • Save dkoppel/17dea7e11b0b086d0839 to your computer and use it in GitHub Desktop.
Save dkoppel/17dea7e11b0b086d0839 to your computer and use it in GitHub Desktop.
Parse markdown files from the CLI with this bash function
gfm() { a=$(cat); curl -X POST -H "content-type: text/plain" -s -d "$a" https://api.github.com/markdown/raw; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment