sc-lectures/build.sh

11 lines
247 B
Bash
Raw Permalink Normal View History

2020-02-02 17:15:59 +03:00
#!/bin/sh
for file in *.md
do
base=$(basename $file .md)
2020-02-02 17:48:36 +03:00
if [ $base != "README" ]
2020-02-02 17:25:35 +03:00
then
2020-04-01 23:35:09 +03:00
pandoc -i $file -t revealjs -s --highlight-style=breezeDark --include-in-header=style.html --highlight-style=highlight.theme >"$base.html"
2020-02-02 17:25:35 +03:00
fi
2020-02-02 17:15:59 +03:00
done