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