How to get Puppeteer PDF generation to match HTML document exactly, in regards to page breaks?

前端 未结 0 1800
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-03 08:05

I am using Puppeteer to generate PDF files, using static HTML as the source:

const page = await browser.newPage();
await page.setContent(html); //html is read         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题