-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML template not used for header and footer #9990
Labels
pdf
Produce PDF as the output format
Comments
Foitn
changed the title
[Feature Request] My awesome feature
HTML template not used for header and footer
Jun 17, 2024
Foitn
pushed a commit
to Foitn/docfx
that referenced
this issue
Jun 17, 2024
…e to be added to the toc.yml
yufeih
added a commit
to Foitn/docfx
that referenced
this issue
Jul 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my previous issue #9463 I requested the use of header and footer to be added through a template.
This has now been added, but not in a way that is very usable.
I have several issues with the current implementation.
Template is not using html files
When I try to use the pdfHeaderTemplate, I cannot use it like the cover page.
I have tried the following:
When I generate this, the cover page is properly added, but the header becomes (very tiny in the top left corner):
The same goes for the footer
In the toc.yml file, if I add the full html of the example/default I get an error, since the html contains a colon (:) since html works that way.
The header/footer are not added to the TOC page
Nothing is added on the TOC page.
What I would like
In the end it would be great if I can add a template for both header and footer in html file (or md which generates html files).
I have added the following zip, that contains all files that could be turned into a pdf file.
This PDF would contain 3 chapters, a TOC and the front page.
Each of these files would receive the header and footer as provided.
TestDoc.zip
The text was updated successfully, but these errors were encountered: