a guest Jul 20th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/usr/bin/env bash
- FILENAME=`echo "$1" | cut -d'.' -f1`
- markdown.pl $1 > $FILENAME.html 2> /dev/null
- xhtml2pdf --quiet --css=/usr/local/share/xhtml2pdf.css -s $FILENAME.html 2> /dev/null
- rm $FILENAME.html
RAW Paste Data