@mattly @technomancy In that case, this is the version using the pandoc variables. I think it's better than the manual html { } rule (though we could also include both). I put it in the Makefile instead of markdown-to-website.lua since I figured it'd make it harder to forget we're relying on those CSS vars externally
diff --git a/Makefile b/Makefileindex fa92c29..9516711 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,9 @@ HTML := tutorial.html api.html reference.html lua-primer.html changelog.html \
# This requires pandoc 2.0+
PANDOC ?= pandoc --syntax-definition fennel-syntax.xml -f gfm \
+ -M fontcolor='var(--base-fg)' \
+ -M backgroundcolor='var(--base-bg)' \
+ -M monobackgroundcolor='var(--source-bg)' \
-H head.html -A foot.html -T "Fennel" \
--lua-filter=markdown-to-website.lua