blob: 0fddef51a8b104fe1f70dd7742f3bd14b5d6486d (
plain)
1
2
3
4
5
6
7
8
|
-- Markdown sources share links; render local HTML links or man-page names.
function Link(link)
if FORMAT == 'man' then
return link.content
end
link.target = link.target:gsub('%.[17]%.md$', '.html')
return link
end
|