AzureDevOps.WikiPDFExport icon indicating copy to clipboard operation
AzureDevOps.WikiPDFExport copied to clipboard

No page margins / paper size options

Open BrainSlugs83 opened this issue 1 year ago • 1 comments

This is a feature request, as it appears that there is no page size or margin options, which presents visually ugly PDF documents, and is problematic for mass printing / presentation on same devices.

The output ends up looking like this: image

It would be great if we could specify paper size and margins, as that would solve these issues.

Thanks!

BrainSlugs83 avatar Jun 17 '24 17:06 BrainSlugs83

I had the same concerns. I even added margins to the css body/html tag: margin: 1cm 1cm 1cm 1cm.... But then I stumbled upon the header and footer template and now I generate the pdf with:

--header-template "<p></p>" --footer-template "<p></p>"

and the pages look good. No need to put something in the css in my case.

jhvanderven avatar Sep 25 '24 16:09 jhvanderven

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 31 '25 22:01 stale[bot]