Closed sebastian-schlecht closed 4 years ago
Somehow ./node_modules/standard --fix
doesn't fix all the formatting issues, hence the large diff.
Thanks for the comments & feedback. Will probably implement the changes tomorrow.
@pofider I implemented your feedback on the PR. I can fix the remaining formatting diff if you want, but I would need a style-config for that.
Enable a second parameter to docxImage called
url
which can be used as an alternative tosrc
. In caseurl
is set, images are fetched during post-render and then rendered into the document. Files are fetched in parallel. This allows to only download those images which are actually used within the document.Addresses #3.