title: I'm using html2pdf to generate a pdf, can I hide the html so the user doesn't see it?
body: <p>I'm generating vouchers using the <a href="https://github.com/eKoopmans/html2pdf" rel="nofollow noreferrer">html2pdf</a> library.</p>
  
  <p>This works fine with the voucher showing as HTML in the page.</p>
  
  <p>I have a button that triggers the <code>html2pdf()</code> function on click, prompting the user to accept the PDF download.</p>
  
  <p>I would like for the HTML to not show on the page. I tried applying <code>position: absolute;</code> and placing the HTML away from the user's sight. Unfortunately, the PDF then renders as blank.</p>
  
  <p>Is there a way to achieve this ?</p>