title: How does Chrome render PDFs from HTML so well?
body: <p>I'm looking to emulate some of Latex's features in HTML and render to PDFs. So far, I've come very close using Chrome's "save to PDF" print feature.</p>
  
  <p>I've tried <a href="http://wkhtmltopdf.org/" rel="noreferrer">wkhtmltopdf</a> (not great), <a href="http://phantomjs.org/" rel="noreferrer">PhantomJS</a> (OK), Safari (pretty good) and Firefox (almost there) but none come close to Chrome's quality.</p>
  
  <p>There are a lot of details that only Chrome gets right, even though most options run off webkit e.g. font rendering soft-hyphens, math symbols with MathJax and specifying page options like A4 and marginless etc.</p>
  
  <p>What is Chrome's "secret sauce" and how can I get hold of it to automate this process?</p>
  
  <p>Many thanks!</p>