added support for multi-source input#53
Conversation
also, added basic tests
|
Cool, thanks for adding some tests too. We should see about possibly testing the generation of command line args more thoroughly as well, rather than actually generating a PDF every time. That will be faster. |
|
That would be faster. Want me to make those changes to the tests? |
|
That would be great, thanks! |
|
The two tests now just compare the generated CLI args against expected, instead of running the wkhtmltopdf bin. You'll need to do another |
|
@knassar Thanks for the contribution, can you refactor it and I'd be happy to pull it in. |
|
👍 exactly what I need. |
|
When can it be merged? +1 |
|
@chamnap: the repo's changed a lot since this PR was made, we'd need someone to refactor this before I can pull it. |
|
Would love to get this merged, but I currently don’t have time to refactor the PR to match the repo. Will be happy to tackle it when I have a window, but not sure when that will be. —Karim
|
|
is it possible to use it with a blank string ? |
this adds support for the multi-file concatenation features of the underlying
wkhtmltopdflibrary, including cover-page and TOC generation, with options on a per-source basis.Also, added a couple of basic tests while I was working on this.