Hacker News new | ask | show | jobs
by caconym_ 2852 days ago
I write fiction as a hobby, I do it in markdown and use Pandoc to turn it into epub files with a custom CSS. It works great. Thanks Pandoc!
1 comments

Is the CSS derived from the markdown, or you supplement MD to HTML with custom CSS? Definitely curious to know!
I used a similar workflow. The CSS is for the EPUB and maps to the html elements supported. But if you get too fancy cross device support could get hairy.

See: https://github.com/FriendsOfEpub/Blitz

Custom CSS. Nothing fancy, I haven't really explored what's possible with epub.