alvarcarto / alvarcarto/url-to-pdf-api
Issues with header and footer templates
- Lenguaje dominante
- HTML
- Estrellas
- 7.1k
- Forks
- 779
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
This issue gathers a lot of issues with PDF header and footer templates. They are not as flexible as I and apparently many others have thought.
## Headers and footers are not appearing
* Remember to set `pdf.displayHeaderFooter` to `true`.
* Add margins for the document: https://github.com/GoogleChrome/puppeteer/issues/1853
Working example: https://url-to-pdf-api.herokuapp.com/api/render?url=https://github.com&pdf.margin.bottom=100px&pdf.displayHeaderFooter=true&pdf.footerTemplate=%3Cp%20style=%22font-size:20px%22%3EFooter%20text%3C/p%3E
## Styling is not working
See https://github.com/GoogleChrome/puppeteer/issues/2916 and https://github.com/GoogleChrome/puppeteer/issues/2388
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.