first code
This commit is contained in:
parent
6420739a2c
commit
6cdee2c3e6
13
makepdf.sh
Normal file
13
makepdf.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
INPUT_FILE="$1"
|
||||||
|
OUTPUT_FILE="$(basename $INPUT_FILE).pdf"
|
||||||
|
METADATA_FILE="~/bin/rcdoc/metadata/daily-stakeholder-report.yml"
|
||||||
|
|
||||||
|
pandoc \
|
||||||
|
$INPUT_FILE \
|
||||||
|
-o $OUTPUT_FILE \
|
||||||
|
--from markdown \
|
||||||
|
--template eisvogel \
|
||||||
|
--listings \
|
||||||
|
--metadata-file=~$METADATA_FILE
|
Loading…
Reference in New Issue
Block a user