aboutsummaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-10-04 15:41:41 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-10-04 15:41:41 +0200
commitfd1475aaec33e717a3721679008bc42bb96d0998 (patch)
tree6036f0b86e0aa5bdd1837c861749ef3bf6e1d395 /common.mk
parentd3a3ad033eca9229b9df1cea6f4595b78b7b462b (diff)
downloadunterricht-fd1475aaec33e717a3721679008bc42bb96d0998.tar.gz
unterricht-fd1475aaec33e717a3721679008bc42bb96d0998.zip
pandoc allow markdown in LaTex environments
TODO: pass arguments to the LaTeX environments
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 8726a163..f4ad4ebe 100644
--- a/common.mk
+++ b/common.mk
@@ -17,6 +17,7 @@ PANDOC_CITE_OPTIONS := --citeproc
PANDOC_FILTER_OPTIONS := --lua-filter "$(PANDOC_FILTER_DIR)/include-files.lua"
PANDOC_FILTER_OPTIONS += --lua-filter "$(PANDOC_FILTER_DIR)/center-img.lua"
PANDOC_FILTER_OPTIONS += --lua-filter "$(PANDOC_FILTER_DIR)/meta-vars.lua"
+PANDOC_FILTER_OPTIONS += --lua-filter "$(PANDOC_FILTER_DIR)/div-class-to-env.lua"
PANDOC_FILTER_OPTIONS += --filter pandoc-plot -M plot-configuration=$(PANDOC_DIR)/defaults/pandoc-plot.yml
COMMON_PANDOC_OPTIONS := --data-dir="$(PANDOC_DIR)" --resource-path="$(COMMON_IMAGES):." $(PANDOC_FILTER_OPTIONS)
PANDOC_XARGS ?=