biommap/documentation/image-path.lua

11 lines
163 B
Lua
Raw Normal View History

2021-10-21 15:21:23 +00:00
function fix_path (path)
2021-10-21 16:07:12 +00:00
return '../../../wiki/biommap.wiki/' .. path
2021-10-21 15:21:23 +00:00
end
function Image (element)
element.src = fix_path(element.src)
return element
end