python-kurs-softed/makepdf.sh

9 lines
155 B
Bash
Executable File

#!/bin/bash
for md in *.md; do
if [[ "$md" = "README.md" ]]; then
continue
fi
pandoc --from=gfm --to=pdf -o "${md%.*}.pdf" "$md"
done