markdown-papers icon indicating copy to clipboard operation
markdown-papers copied to clipboard

pdf generation

Open DracoBlue opened this issue 14 years ago • 1 comments

We should look into the possibilities how to generate a .pdf version.

For testing purpose I am using wkhtmltopdf and generate a .pdf out of the .html file. It screws up the background color and fonts look ugly if you zoom in. Rest seems ok.

http://code.google.com/p/wkhtmltopdf/

DracoBlue avatar Nov 21 '11 11:11 DracoBlue

One should use

$ wkhtmltopdf README.html README.pdf --print-media-type
$ open README.pdf

media-type setting is necessary, otherwise it uses default screen media type and screws up the background color.

DracoBlue avatar Nov 22 '11 10:11 DracoBlue