You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- add `generate_binray` and `generate_binary!` that immediately return the
PDF binary instead of an `{:ok, filename}` tuple.
- add `generate!` to immediately return the filename
- some more tests
- minor change `delete_temporary` must be truthy. (the old supported value
`:html` will stil work) and will delete both intermediate HTML And PDF
files in ``generate_binary` and `generate_binary!`
Copy file name to clipboardexpand all lines: README.md
+25-5
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,19 @@
1
1
# elixir-pdf-generator
2
2
3
-
A wrapper for wkhtmltopdf (HTML to PDF) and PDFTK (adds in encryption) for use in Elixir projects. If available, it will use xvfb-run (x virtual frame buffer) to use wkhtmltopdf on systems that have no X installed, e.g. a server.
4
-
5
-
# New in 0.3.4
6
-
3
+
A wrapper for wkhtmltopdf (HTML to PDF) and PDFTK (adds in encryption) for use
4
+
in Elixir projects. If available, it will use xvfb-run (x virtual frame buffer)
5
+
to use wkhtmltopdf on systems that have no X installed, e.g. a server.
6
+
7
+
# New in 0.3.4 and 0.3.5
8
+
9
+
- 0.3.5
10
+
- add `generate_binray` and `generate_binary!` that immediately return the
11
+
PDF binary instead of an `{:ok, filename}` tuple.
12
+
- add `generate!` to immediately return the filename
13
+
- some more tests
14
+
- minor change `delete_temporary` must be truthy. (the old supported value
15
+
`:html` will stil work) and will delete both intermediate HTML And PDF
16
+
files in ``generate_binary` and `generate_binary!`
7
17
- 0.3.4
8
18
- BUGFIX: fix merge confusion to **realy** support `xvfb-run` or other
9
19
command prefixes to wkhtmltopdf
@@ -57,8 +67,18 @@ $ iex -S mix
57
67
58
68
html = "<html><body><p>Hi there!</p></body></html>"
0 commit comments