process narrative
-
+
Hi. My name is Case Duckworth. This is my thesis.
@@ -54,9 +54,9 @@At first, I used this code in the shell to generate my HTML:
+ pandoc "$file" -f markdown -t html5 \ + --template=template.html -o "${file%txt}html" + done but this proved tedious with time.for file in *.txt; do - pandoc "$file" -f markdown -t html5 \ - --template=template.html -o "${file%txt}html" -done
- After a lot of experimenting with different scripting languages, I finally realized that
GNU make
would fit this task perfectly. - You can see my makefile here—it’s kind of a mess, but it does the job. See below for a more detailed explanation of the makefile. @@ -97,7 +97,7 @@