4 ms·
I write my books in markdown and use pandoc to generate PDF and EPUB.
by umvi 8y ago
I write my books in markdown and use pandoc to generate PDF and EPUB.
- alias_neo 8y agoHow 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.
- umvi 8y agoI'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.
- homarp 8y agofor those who might wonder, like me: https://github.com/joeyespo/grip 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.
- alias_neo 7y agoThanks, I should have linked grip!
- trnglina 8y agoI 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.