From 43170eb3e70acfc570aa398b94bb6ef9f9900a1c Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 25 Nov 2024 21:27:01 +0100 Subject: support wikilinks in markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 626706a..8242081 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,7 @@ all: run # content -PANDOC ?= pandoc +PANDOC ?= pandoc PANDOC_PREPROC ?= preproc.lua htm_SRC := $(shell find src/inc/ -name '*.htm' -print) md_SRC := $(shell find src/inc/ -name '*.md' -print) @@ -11,7 +11,7 @@ DST := site # see https://pandoc.org/MANUAL.html#pandocs-markdown %.htm: %.md $(PANDOC_PREPROC) @ echo "" >$@ - $(PANDOC) -fmarkdown -thtml5 --lua-filter=$(PANDOC_PREPROC) $< >>$@ + $(PANDOC) -fmarkdown+wikilinks_title_after_pipe -thtml5 --lua-filter=$(PANDOC_PREPROC) --strip-comments $< >>$@ # generator ZIG ?= zig -- cgit 1.4.1