From 71a5049a68426665d6c411ba3c00d449f0cf884d Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sun, 25 Oct 2020 19:20:21 -0600 Subject: link to HTML pages in HTML --- etc/process-md.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/process-md.lua b/etc/process-md.lua index 30c85de..f0e11dc 100644 --- a/etc/process-md.lua +++ b/etc/process-md.lua @@ -5,3 +5,8 @@ function Pandoc(doc) doc.blocks:insert(1, title_header) return doc end + +function Link(node) + node.target = node.target:gsub(".md", ".html") + return node +end -- cgit v1.2.3