title: Pandoc and html5 exporting pdf's with huge margins
body: <p>So I'm trying Pandoc for the first time. Everything seems great but when exporting via html5 (wkhtmltopdf) my pdf output is saved with huge margins on all sides.</p>
  
  <pre><code>pandoc -t html5 -s example.md -o output.pdf
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/jNlhC.png" rel="noreferrer">output.pdf</a> (content output highlighted in red)</p>
  
  <p>What I've tried:</p>
  
  <ul>
  <li>Reinstalling pdflatex</li>
  <li>Reinstalling wkhtmltopdf</li>
  <li>Including CSS to remove the margins</li>
  </ul>
  
  <p>Am I missing something?</p>
  
  <p><strong>What I want:</strong>
  Write a markdown document using <a href="https://typora.io/" rel="noreferrer">Typora</a> -> Use Pandoc to apply TOC and page numbering -> Use html5 to export pdf with custom styling.</p>