first code

This commit is contained in:
Charles N Wyble 2024-11-27 07:07:32 -06:00
parent 6420739a2c
commit 6cdee2c3e6

13
makepdf.sh Normal file
View 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