Closed udondan closed 5 years ago
Great change, Thank you
thanks for merging :)
@udondan
How is it possible to use custom css & fonts? Do you have an example of that?
@bjornamr There's actually nothing special about it. I just reference CSS files which contain font declarations.
I'm using it to render my personal vita, source is here: https://github.com/udondan/www.udondan.com It makes use of Font Awesome. Result can be seen here https://www.udondan.com/ - PDF can be downloaded by clicking the red button on the right side.
Great action! I had to do some changes to make it work for me.
Sorry for not committing separate PR's. Customized it until it worked for me. 😃
pdfOptions
input, so user can forward custom optons.legacyOptions
). Wasn't passed from main.js.includeAssets()
function. That seemd very custom to a specific setup. Now with the new http server, serving all files in the root, css files included in the HTML document (print styles) can be usedLet me know if anything conflicts with your setup. I tested your example.html file and it renders nicely.