Is there a way to create a PDF document that mirrors the appearance of a web page using jsPdf? When attempting this, it seems that the font size, text alignment, and table alignment of the resulting PDF do not match that of the original web page. Additionally, some of the HTML code unexpectedly appears in the PDF. How can I ensure that the generated PDF accurately reflects the design of my webpage?
I would like to know how to generate a PDF that closely resembles my webpage in appearance.