about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--makefile4
1 files 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 "<!-- Generated file, you may edit and discard $< :) -->" >$@
-	$(PANDOC) -fmarkdown -thtml5 --lua-filter=$(PANDOC_PREPROC) $< >>$@
+	$(PANDOC) -fmarkdown+wikilinks_title_after_pipe -thtml5 --lua-filter=$(PANDOC_PREPROC) --strip-comments $< >>$@
 
 # generator
 ZIG     ?= zig