...

Typesetting pdf with html and css

This is how I create pdf files from markdown using Prince.

  1. Convert markdown to html using kramdown, pandoc, or online. Boilerplate not necessary.
  2. Create custum css-file. Here is my template.
  3. Run Prince:

     prince -s paged-media.css file.html