Created
January 9, 2016 03:37
-
-
Save davisford/3839962587517df67e77 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
if (( $# != 2)) | |
then | |
echo "Usage: md2pdf.sh <input.md> <output.pdf>" | |
exit 1 | |
fi | |
markdown $1 | htmldoc --cont --headfootsize 8.0 --linkcolor blue --linkstyle plain --format pdf14 - > $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment