Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/pandoc_extra.yml
Original file line number Diff line number Diff line change
@@ -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
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down