title: How can I add repeating table headers after page breaks using node-html-pdf?
body: <p>I'm using <code>node-html-pdf</code> to generate pdfs. It renders HTML then uses phantom js to convert to pdf. </p>
  
  <p>I have several tables that overrun a single page in the pdf, and I'd like the table header to repeat on each new page.</p>
  
  <p>From what I can tell, this should work from a standard browser, but i'm not having any luck with <code>node-html-pdf</code></p>
  
  <p>Also, the pdf is in landscape.</p>
  
  <p>css</p>
  
  <pre><code>table {
    page-break-after: always;
  }
  tr {
    page-break-inside: avoid;
  }
  table tr {
    break-inside: avoid !important;
  }
  thead {display: table-header-group !important;}
  tbody {display: table-row-group !important;}
  tfoot {display: table-header-group !important;}
  </code></pre>