diff options
| author | John MacFarlane <[email protected]> | 2022-08-24 19:54:47 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-08-24 19:54:47 -0700 |
| commit | 5555be1ab9f8c596f945e015bbd6a77e4c7a75ef (patch) | |
| tree | cddc9eef579088f898edea043cc729456742e73a | |
| parent | 2c6619f2fb050e4b0b47cad202b501bcc721e524 (diff) | |
trypandoc: process files in params.
| -rw-r--r-- | trypandoc/trypandoc.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trypandoc/trypandoc.js b/trypandoc/trypandoc.js index cb5ec1659..461808b45 100644 --- a/trypandoc/trypandoc.js +++ b/trypandoc/trypandoc.js @@ -282,6 +282,9 @@ function setFormFromParams() { document.getElementById("to").value = params.to; document.getElementById("standalone").checked = params.standalone; document.getElementById("citeproc").checked = params.citeproc; + for (const filename in params.files) { + addFile(filename, params.files[filename]); + } } function readFile(file, callback) { |
