Created
December 19, 2014 07:08
-
-
Save dkoppel/17dea7e11b0b086d0839 to your computer and use it in GitHub Desktop.
Parse markdown files from the CLI with this bash function
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
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