summaryrefslogtreecommitdiff
path: root/docs/links-to-html.lua
diff options
context:
space:
mode:
Diffstat (limited to 'docs/links-to-html.lua')
-rw-r--r--docs/links-to-html.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/links-to-html.lua b/docs/links-to-html.lua
new file mode 100644
index 000000000..74072a9e4
--- /dev/null
+++ b/docs/links-to-html.lua
@@ -0,0 +1,5 @@
+# links-to-html.lua
+function Link(el)
+ el.target = string.gsub(el.target, "%.1.md", ".html")
+ return el
+end