aboutsummaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-01-17 12:21:53 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2026-01-17 12:23:24 +0100
commit6ae902b02230048f2f3ef964a7edac0bca768b9e (patch)
treee05475efd420fc8b22106a36be4ae809b8227664 /common.mk
parent21df588bea6429689f6d9a4e3e9cf7c75a434226 (diff)
downloadunterricht-6ae902b02230048f2f3ef964a7edac0bca768b9e.tar.gz
unterricht-6ae902b02230048f2f3ef964a7edac0bca768b9e.zip
add proper mermaid support
Use pdf as default format for pandoc-plot. This improves rendering and makes plot content accessable in the document.
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 87433b69..644adb68 100644
--- a/common.mk
+++ b/common.mk
@@ -17,7 +17,7 @@ PANDOC_CITE_OPTIONS := --citeproc
PANDOC_FILTER_OPTIONS := --lua-filter "$(PANDOC_FILTER_DIR)/center-img.lua"
PANDOC_FILTER_OPTIONS += --lua-filter "$(PANDOC_FILTER_DIR)/include-files.lua"
PANDOC_FILTER_OPTIONS += --lua-filter "$(PANDOC_FILTER_DIR)/meta-vars.lua"
-PANDOC_FILTER_OPTIONS += --filter pandoc-plot
+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 := pandoc $(PANDOC_CITE_OPTIONS) $(COMMON_PANDOC_OPTIONS)