Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. @jkullick jkullick created this gist Aug 1, 2016.
    7 changes: 7 additions & 0 deletions curl-github-api-render-markdown.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    ```bash
    curl \
    -H 'Content-Type: application/json' \
    -X POST \
    -d '{"text": "$TEXT", "mode": "markdown"}' \
    https://api.github.com/markdown
    ```