diff options
| author | Robert Günzler <r@gnzler.io> | 2024-11-25 21:27:01 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2024-11-25 21:38:34 +0100 |
| commit | 43170eb3e70acfc570aa398b94bb6ef9f9900a1c (patch) | |
| tree | 33f6d7c00446cb31f733fca47f054152da778faa /makefile | |
| parent | 279e3345e77f44db77313a16de832be88c3d443c (diff) | |
| download | site-43170eb3e70acfc570aa398b94bb6ef9f9900a1c.tar.gz | |
support wikilinks in markdown
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
| -rw-r--r-- | makefile | 4 |
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 |