1
0

make headings link to themselves

This commit is contained in:
Simon Michael
2023-11-30 14:19:37 -10:00
parent 765ee49157
commit ed2b2fd2a1
4 changed files with 17 additions and 3 deletions

View File

@@ -15,10 +15,11 @@ html-cfp:
MD2HTML=$(PANDOC) \
-f markdown-smart-tex_math_dollars+autolink_bare_uris+wikilinks_title_after_pipe \
--lua-filter=wikilinks.lua
--lua-filter=wikilinks.lua \
--lua-filter=headings.lua \
# generate html from a md file
out/%.html: src/%.md page.tmpl
out/%.html: src/%.md #page.tmpl wikilinks.lua headings.lua
$(MD2HTML) --template page.tmpl "$<" -o "$@"
# regenerate html whenever an md file changes