Skip to content

Instantly share code, notes, and snippets.

@leafnode
Created February 24, 2020 09:53
Show Gist options
  • Save leafnode/69b0e829e49c967f519a4a5b59ebd1d9 to your computer and use it in GitHub Desktop.
Save leafnode/69b0e829e49c967f519a4a5b59ebd1d9 to your computer and use it in GitHub Desktop.
#!/bin/sh
jq --slurp --raw-input '{"text": "\(.)", "mode": "markdown"}' < README.md | \
curl --data @- https://api.github.com/markdown | \
tee README.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment