1
0

render double-bracketed wiki links, roughly in Obsidian style

This commit is contained in:
Simon Michael
2023-11-27 23:41:20 -10:00
parent 60f7c63f04
commit 150e08c462
2 changed files with 29 additions and 1 deletions

View File

@@ -4,7 +4,9 @@ all: html
# (including README, maybe useful for local preview. $(filter-out README.md, ...) to exclude).
html: $(patsubst src/%,out/%,$(patsubst %.md,%.html,$(wildcard src/*.md src/quickref/*.md))) Makefile
PANDOC=pandoc -f markdown-smart-tex_math_dollars+autolink_bare_uris
PANDOC=pandoc \
-f markdown-smart-tex_math_dollars+autolink_bare_uris+wikilinks_title_after_pipe \
--lua-filter=fixwikilinks.lua
# generate html from a md file
out/%.html: src/%.md page.tmpl