From 6ae902b02230048f2f3ef964a7edac0bca768b9e Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 17 Jan 2026 12:21:53 +0100 Subject: add proper mermaid support Use pdf as default format for pandoc-plot. This improves rendering and makes plot content accessable in the document. --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.mk') 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) -- cgit v1.2.3