Skip to content

Instantly share code, notes, and snippets.

@jkullick
Created August 1, 2016 18:30
Show Gist options
  • Save jkullick/9a89fcbb98026abd75c4ff020faaf191 to your computer and use it in GitHub Desktop.
Save jkullick/9a89fcbb98026abd75c4ff020faaf191 to your computer and use it in GitHub Desktop.
Render Markdown with cURL & Github API
curl \
  -H 'Content-Type: application/json' \
  -X POST \
  -d '{"text": "$TEXT", "mode": "markdown"}' \
  https://api.github.com/markdown
@nodirshox
Copy link

Thanks mate!

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