HtmlToPdf
Super simple way to generate a PDF from HTML in Elixir.
At its core, HtmlToPdf wraps the WkHtmlToPdf executable with a couple of simple helper methods.
Installation
If available in Hex, the package can be installed as:
Add html_to_pdf to your list of dependencies in
mix.exs:def deps do
[{:html_to_pdf, "~> 0.0.1"}]end
Ensure html_to_pdf is started before your application:
def application do
[applications: [:html_to_pdf]]end