PDF: Modify the default template with a custom template #10871
Unanswered
AnsMelanie
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a DocFX project for which I need to provide a PDF version of the documentation.
So far, I’ve successfully generated the website, and the “Download PDF” button appears and works correctly. I also managed to add a header, footer, and cover page.
However, I’m struggling to modify the font family and the page margins of the PDF content. From what I understand, DocFX applies a default template, and customizing these elements requires creating a custom template to override the default one.
I’ve tried setting up a custom template, but I can’t get it to work properly, even after following the tutorial.
Does anyone have an example project where PDF customization (fonts, margins, etc.) is working successfully that they could share?
Beta Was this translation helpful? Give feedback.
All reactions