Created
April 25, 2016 16:01
-
-
Save xdbr/608e65d8707985b9abe23e95c1be3a22 to your computer and use it in GitHub Desktop.
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
# Needs httpie and pandoc installed. Takes URL and (ideally) spits out readable PDF | |
[[ $# != 2 ]] && echo "Usage:\n\t$(basename $0) <URL> <OUTPUT.pdf>" && exit 1 | |
http --body heckyesmarkdown.com/go/ read==1 md==1 u=="$1" | pandoc --latex-engine=xelatex --from markdown --output "$2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment