Re:Get Your Book, Make It Free
by alias_neo on Friday May 17, 2019 @12:18PM
(#19940998)
How does pandoc compare to grip? I often need to render Markdown to PDF and find Grip is _ok_ but not great, and if I'm not mistaken it renders Github-side, where I'd prefer offline.
[ Parent
| on HN ]
for those who might wonder, like me:
https://github.com/joeyespo/grip
a command-line server application written in Python that uses the GitHub markdown API to render a local readme file.
Thanks, I should have linked grip!
I've never tried grip, but actually my pipeline is this:
markdown -> docx (pandoc)
docx -> kindle (calibre)
I use both pandoc and calibre as offline CLIs, and the resulting kindle book has a nicely formatted table of contents with correct chapter markers, etc.
I haven't used grip, but pandoc primarily (exclusively?) generates PDFs through LaTeX. It's great for quick, programmable, PDF generation, but personally, I usually prefer using pandoc to go markdown -> ICML -> InDesign.