How do you export HTML blog posts to ePub and PDF automatically?
Answer
I export my blog posts automatically by feeding simplified HTML into two tools: the epub-gen NodeJS module for ePub, and pandoc with LaTeX for PDF. A task manager queues the jobs per translation and file format.