style: make modules underlined and colored

pull/78/head
sammyette 2021-10-17 18:09:42 -04:00
parent b97e1efa8d
commit 9b6ca1faf4
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,9 @@ These are the global Hilbish functions that are always available and not part of
return
end
local modules = fs.readdir(moddocPath)
local modules = table.map(fs.readdir(moddocPath), function(f)
return lunacolors.underline(lunacolors.blue(f:sub(1, -5)))
end)
io.write [[
Welcome to Hilbish's doc tool! Here you can find documentation for builtin