From 23d862844c4cce0100bedd20a8b521ab9f8f822d Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 16 Oct 2024 15:24:41 +0200 Subject: use pandoc filter to generate date & toc 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(-) (limited to 'makefile') diff --git a/makefile b/makefile index 5a5e6fd..b36f10b 100644 --- a/makefile +++ b/makefile @@ -8,8 +8,8 @@ SRC := $(htm_SRC) $(md_SRC:%.md=%.htm) DST := site # see https://pandoc.org/MANUAL.html#pandocs-markdown -%.htm: %.md - $(PANDOC) --from=markdown --to=html --output $@ $< +%.htm: %.md front.lua + $(PANDOC) -fmarkdown -thtml5 --lua-filter=front.lua -o $@ $< # generator ZIG ?= zig -- cgit 1.4.1