From 5071827d71f4d54923d5adfdef2a45d8bf44a0ba Mon Sep 17 00:00:00 2001 From: Matthew Wozniak Date: Tue, 25 Jun 2024 14:49:22 -0400 Subject: initial commit --- build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..7172758 --- /dev/null +++ b/build.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +shopt -s globstar + +cp -r static/* out + +for i in **/*.md; do + mkdir -p "out/$(dirname $i)" + pandoc -s --katex -s -c style.css -B template/header.html \ + -A template/footer.html "$i" -o "out/${i%.*}.html" +done -- cgit v1.2.3-54-g00ecf