3 ms·
Mine is 4 lines, although it would be trivial to make it shorter. Here it is, although I'm actually working on migrating over to Hugo because it has some nice f
by Rebelgecko 6y ago
Mine is 4 lines, although it would be trivial to make it shorter. Here it is, although I'm actually working on migrating over to Hugo because it has some nice features that would be a pain to implement myself
for filename in pages_md/*.md; do
basename=$(basename "$filename" .md)
pandoc "$filename" -f markdown_github -t html -o "pages/$basename.html"
done