6 ms·
I totally agree: pandoc is amazing, this is just a weekend project that is a solution in search of a problem. I can just highlight github's markdown pretty prin
by dfc 13y ago
I totally agree: pandoc is amazing, this is just a weekend project that is a solution in search of a problem. I can just highlight github's markdown pretty print and tell iceweasel to print selection and select save as pdf instead of sending to cupsd queue.
To be clear this project:
1. Converts a certain unknown basic markdown syntax to html
(iff the filename is something that it recognizes[^1])
2. adds css for Merriweather, Open Sans, Dejavu Mono and a silly iconfont
(I prefer pandoc's pygments syntax highlighting over goofy icon)
3. renders html->pdf using webkit by way of phantomjs.
Pandoc to pdf at ROFLSCALE? Speculate no more:
$ pandoc -s -S -t html5 -o out.html README.md
$ wkhtmltopdf out.html out.pdf
or
$ pandoc -s -S -t html5 -o out.html README.md
$ phantomjs rasterize.js ./out.html out.pdf Letter
To be honest using pdflatex is just as fast as phantomjs/wkhtmltopdf.
The type checking joke is that I never compared gitit to pandoc. So don't worry about responding to any comment you think I made regarding gitit and pandoc.
[^1]: https://gitprint.com/jgm/pandoc/master/README https://gitprint.com/jgm/pandoc/master/README = "Something went wrong! Couldn't process https://raw.github.com/jgm/pandoc/master/README/master/README.md" https://raw.github.com/jgm/pandoc/master/README/master/READM... = ROFLSATIRE
- 616c 13y agoThe Gitprint error is cute. I did not have that when I tried. I guess more indication I will stick to my own tools. As for everything else, thanks for the clarification.