summaryrefslogtreecommitdiff
path: root/doc/md2html.lua
blob: c2677d88ba37a029c8c5cafc85f277eda0b849cc (plain)
1
2
3
4
5
6
-- This is the links-to-html.lua example from stackoverflow:
-- https://stackoverflow.com/questions/40993488/convert-markdown-links-to-html-with-pandoc
function Link(el)
  el.target = string.gsub(el.target, "%.md", ".html")
  return el
end