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
560 stars 88 forks source link

Image with custom headers #166

Closed Aymkdn closed 1 year ago

Aymkdn commented 1 year ago
          > I've just created v2.3.0 with the new option [`imagesByReference`](https://github.com/Aymkdn/html-to-pdfmake#imagesbyreference)

I partially tried it, so feel free to give it a try and let me know if it works correctly.

Hi @Aymkdn Is there a way to pass custom headers as well? Since there is an option to send custom headers in the pdfmake.

Originally posted by @ankesh-paramanik in https://github.com/Aymkdn/html-to-pdfmake/issues/109#issuecomment-1400426711

Aymkdn commented 1 year ago

Is there a way to pass custom headers as well?

Not at this time. I'll have to check what it is.

ankesh-paramanik commented 1 year ago

Thanks for your response. I have a requirement in my project, it would be helpful if this feature could be added.

Aymkdn commented 1 year ago

It's now available in v2.4.14 – see the documentation: image

That should do the trick.

ankesh-paramanik commented 1 year ago

Thank you so much!