Q: Html to PDF

I am evaluating your api to export PDFs starting from html, the problem I see is with the margins, the output do not have any margin/white space on the 4 sides top, bottom, left, right. How do I fix this?

74477bdb39c0403686463f04301b4901Jun 9, 2025
Founder Team
togedir

togedir

Jun 9, 2025

A: Hi 74477bdb39c0403686463f04301b4901,

Please check this link. You can specify the margins by using the options field in your request body.

https://markupgo.com/docs/api/pdf#pdf-properties

Share
Helpful?
Log in to join the conversation