Skip to content
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

docs(api.md): mention header/footer template limitations in page.pdf. #2341

Merged
merged 1 commit into from Apr 10, 2018

Conversation

aslushnikov
Copy link
Contributor

References #2167.

@aslushnikov aslushnikov merged commit 2b95774 into puppeteer:master Apr 10, 2018
@aslushnikov aslushnikov deleted the nit-docs branch May 9, 2018 01:13
@RayAnti2
Copy link

RayAnti2 commented Aug 8, 2018

I found puppeteer is a good tool for converting from html to pdf.
But the footerTemplate must be the same on all pages?
Now I need, for example, pages' footer like this:

(page 1)
pageNumber of totalNumber---------------------------vocabulary list

(page 2)
vocabulary list-------------------------------------pageNumber of totalNumber

(page 3)
pageNumber of totalNumber---------------------------vocabulary list

I prepare 2 Templates for odd and even num pages, i don't need every pages with different footers, but just these two Templates.
What should i do ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants