mirror of
https://github.com/Cacti/documentation.git
synced 2026-12-06 15:13:53 +09:00
- Fixed build script to correctly detect pandoc and lua requirements - Fixed lua script syntax
7 lines
243 B
Lua
7 lines
243 B
Lua
-- Simple LUA function to be used by Pandoc when converting Markdown to HTML
|
|
function Link(el)
|
|
el.target = string.gsub(el.target, "%.md", ".html")
|
|
el.target = string.gsub(el.target, "README.html", "Table-of-Contents.html")
|
|
return el
|
|
end
|