Aymkdn / html-to-pdfmake

This module permits to convert HTML to the PDFMake format
https://aymkdn.github.io/html-to-pdfmake/index.html
MIT License
545 stars 88 forks source link

Support for header / footer #195

Closed grizlizli closed 11 months ago

grizlizli commented 11 months ago

Hi,

Is there a support for header / footer of the page?

As I can see, PDFmake has a support for headers and footers but I don't see support in your awesome library.

Any plans to support that?

Thanks!

Aymkdn commented 11 months ago

My lib converts HTML to PDFMake syntax… There is no header or footer in HTML that would match the same kind of thing in a PDF document…

So I'd recommend to just add the header and footer after the HTML has been converted. Except if you have a good example of HTML to use, and how the PDFMake syntax will look like, and how the PDf will render?

grizlizli commented 11 months ago

Thanks, @Aymkdn. Makes sense.

Unfortunately, I do not have a good example how it can be used with the HTML template.

Aymkdn commented 11 months ago

OK, so I'll assume your ask is not feasible. Have a good day.

grizlizli commented 11 months ago

Thanks, @Aymkdn. You too!