forked from ZeusWPI/drive
8 lines
245 B
Bash
8 lines
245 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
echo "Converting to HTML…"
|
||
|
|
||
|
for file in *.md */*.md
|
||
|
echo " converting $file"
|
||
|
pandoc $file -f markdown -t pdf -o (echo "../$file" | sed '$s/\.md$/.pdf/') -s --data-dir=./ --variable=file:(echo "$file" | sed '$s/\.md$/.pdf/')
|
||
|
end
|