python-kurs-softed/makepdf.sh

9 lines
155 B
Bash
Raw Permalink Normal View History

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