This commit is contained in:
2025-09-02 00:29:22 -05:00
parent ef7b69d4fe
commit 7c27162307
3 changed files with 26 additions and 11 deletions

12
convert.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
if [ $# -lt 1 ]; then
echo "Usage: $0 <markdown-file>"
exit 1
fi
input="$1"
output="${input%.md}.pdf"
pandoc -V geometry:margin=1cm --pdf-engine=xelatex "$input" -o "$output"