3 ms·
Maybe add a function to convert to PDF? I've always dreamed of converting an element or the document body to a long-scrolling PDF. I tried to implement it with
by maxloh 2y ago
Maybe add a function to convert to PDF? I've always dreamed of converting an element or the document body to a long-scrolling PDF. I tried to implement it with Playwright Python, but I had no luck. The resulting PDF height is messed up.
- tinchox6 2y agoIts a bit out of scope right now, but I thing it would be possible using some external libraries such as jsPDF or svg2pdf.js