Skip to content

Commit 60972b2

Browse files
authored
Merge pull request #42 from nbehrnd/pandoc_extra
document deployment of docker image pandoc-extra
2 parents 759335c + deffd4e commit 60972b2

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

.github/workflows/pandoc_extra.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Usage Pandoc-Extra
2+
3+
on: push
4+
5+
jobs:
6+
convert_via_pandoc:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: create output folder
11+
run: |
12+
mkdir output
13+
- uses: docker://pandoc/extra:3.8
14+
with:
15+
args: >- # break string of arguments into multiple lines
16+
README.md --output=output/README.pdf
17+
--standalone
18+
--template /.pandoc/templates/eisvogel.latex
19+
--listings
20+
-V block-headings
21+
- uses: actions/upload-artifact@v4
22+
with:
23+
name: output
24+
path: output

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,13 @@ A work around to this is to specify the exact location on the filesystem of the
133133

134134
```
135135
- uses: docker://pandoc/extra:3.8
136-
with:
137-
args: content/cv.md --output=content/cv.pdf --template /.pandoc/templates/eisvogel.latex --listings -V block-headings
136+
with:
137+
args: >- # break string of arguments into multiple lines
138+
README.md --output=output/README.pdf
139+
--standalone
140+
--template /.pandoc/templates/eisvogel.latex
141+
--listings
142+
-V block-headings
138143
```
139144

140145
## Alternatives

0 commit comments

Comments
 (0)