Typesetting pdf with html and css
This is how I create pdf files from markdown using Prince.
- Convert markdown to html using kramdown, pandoc, or online. Boilerplate not necessary.
- Create custum css-file. Here is my template.
-
Run Prince:
prince -s paged-media.css file.html