summaryrefslogtreecommitdiff
path: root/MdToHtml
diff options
context:
space:
mode:
Diffstat (limited to 'MdToHtml')
-rwxr-xr-xMdToHtml9
1 files changed, 9 insertions, 0 deletions
diff --git a/MdToHtml b/MdToHtml
new file mode 100755
index 0000000..39194af
--- /dev/null
+++ b/MdToHtml
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+for FILE in $(find static -type f -name "*.md");
+do
+ echo "Processing $FILE..."
+ pandoc -t html -f markdown "$FILE" > "$(echo "$FILE" | sed 's|\.md$|.html|')"
+ echo "Done"
+done
+