Z-Lab/pandoc/links-to-html.lua

5 lines
119 B
Lua

-- links-to-html.lua
function Link(el)
el.target = string.gsub(el.target, "%/", "/readme.html")
return el
end