From 6e7cb6c7fc959b87fcc8646028c95a27d070c897 Mon Sep 17 00:00:00 2001 From: Norwid Behrnd Date: Tue, 28 Oct 2025 13:34:34 +0100 Subject: [PATCH 1/2] build(pandoc_extra.yml): add example of deployment An example how to use docker image pandoc-extra is added. This commit equally addresses issue #40. https://github.com/pandoc/pandoc-action-example/issues/40 Signed-off-by: Norwid Behrnd --- .github/workflows/pandoc_extra.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pandoc_extra.yml diff --git a/.github/workflows/pandoc_extra.yml b/.github/workflows/pandoc_extra.yml new file mode 100644 index 0000000..f213df7 --- /dev/null +++ b/.github/workflows/pandoc_extra.yml @@ -0,0 +1,24 @@ +name: Usage Pandoc-Extra + +on: push + +jobs: + convert_via_pandoc: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + - name: create output folder + run: | + mkdir output + - uses: docker://pandoc/extra:3.8 + with: + args: >- # break string of arguments into multiple lines + README.md --output=output/README.pdf + --standalone + --template /.pandoc/templates/eisvogel.latex + --listings + -V block-headings + - uses: actions/upload-artifact@v4 + with: + name: output + path: output From deffd4e02ab21fa033f92b6cc0279fa7cca5addf Mon Sep 17 00:00:00 2001 From: Norwid Behrnd Date: Tue, 28 Oct 2025 13:37:44 +0100 Subject: [PATCH 2/2] docs(README.md): update about additional workflow The edit accounts for the additional example around docker image pandoc-extra. Signed-off-by: Norwid Behrnd --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 46d223d..76080d7 100644 --- a/README.md +++ b/README.md @@ -132,8 +132,13 @@ A work around to this is to specify the exact location on the filesystem of the ``` - uses: docker://pandoc/extra:3.8 - with: - args: content/cv.md --output=content/cv.pdf --template /.pandoc/templates/eisvogel.latex --listings -V block-headings + with: + args: >- # break string of arguments into multiple lines + README.md --output=output/README.pdf + --standalone + --template /.pandoc/templates/eisvogel.latex + --listings + -V block-headings ``` ## Alternatives