blob: 9dc09734df2ec46fe6f5690531758baec50c69d1 (
plain) (
tree)
|
|
#!/bin/sh
cp INDEX_template.md INDEX.md
for i in *.md
do
filename_wo_ext=$(echo "$i" | cut -f 1 -d '.')
if [ $filename_wo_ext != "template" ] && [ $filename_wo_ext != "INDEX_template" ]
then
pandoc $i -s --highlight-style pygments --css=style.css --self-contained -t html5 -o $filename_wo_ext.html
if [ $filename_wo_ext != "INDEX" ]
then
echo "[$filename_wo_ext]($filename_wo_ext.html) " >> INDEX.md
fi
fi
done
|
in each repos: see "about"-tab (if existing) for more details / README.
dark theme is a modded version of: https://gist.github.com/Yoplitein/f4b671a2ec70c9e743fa