aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/process-md.lua5
1 files changed, 5 insertions, 0 deletions
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