Created
January 31, 2011 05:56
-
-
Save jasonm23/803692 to your computer and use it in GitHub Desktop.
Use cupsfilter and RDiscount to convert Markdown text to PDF (via HTML)
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
t=$(mktemp -t preview); cat README.md | rdiscount > $t.html; cupsfilter $t.html > $t.pdf; open $t.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment