2 likes
·
2.3K reads
5 comments
Thanks a lot for sharing. A tiny error to be fixed though, I think: you mention everywhere filename: "invoice-#{date}"
but the variable date
has never been defined.
Thanks for pointing it out. I'll edit the code snippet.
Nice, chromic_pdf is great. The issue is it cant modify existing PDFs or create / work with form elements. Something like ruby's prawn would be great. Some things are possible using pdftk but nothing like the great Prawn experience to truely create PDFs. Elixir is missing a GOOD pdf gen library.
Agreed. I don't have experience with prawn. It seems to be a very good library. It would be awesome to have one in elixir.
Thanks a lot. I have got it working with the help of this. Do you have any pointers on how to get styling working with Tailwind css?