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

How to add Tailwindcss to html i'm adding that via CDN in head, but still CSS is not taking #178

Closed Raghu-sphereit closed 1 year ago

Raghu-sphereit commented 1 year ago
Aymkdn commented 1 year ago

It's not how it works. You cannot load a CSS stylesheet.

This library converts the HTML only, and eventually some style. It will also associate the CSS class names to the node, but it's then your job to provide the style associated to the CSS classes.

Please, read the documentation and look at the example.