8 lines
228 B
Bash
Executable File
8 lines
228 B
Bash
Executable File
FILES=org/*.org
|
|
for f in $FILES
|
|
do
|
|
filename="$(basename -- $f .org)"
|
|
echo "publishing org/$filename.org to html/$filename.html"
|
|
pandoc -s --toc -H headers -f org -t html org/$filename.org -o html/$filename.html
|
|
done
|