pre refactor
This commit is contained in:
@@ -32,6 +32,10 @@ function M.muted(str)
|
||||
return '<div class="muted">' .. str .. '</div>'
|
||||
end
|
||||
|
||||
function M.callout(str)
|
||||
return '<div class="callout">' .. str .. '</div>'
|
||||
end
|
||||
|
||||
function M.h1(str)
|
||||
return "<h1>" .. (str or "") .. "</h1>"
|
||||
end
|
||||
@@ -210,4 +214,8 @@ function M.copyright()
|
||||
return "©"
|
||||
end
|
||||
|
||||
function M.highlight(str)
|
||||
return '<span class="highlight">' .. str .. "</span>"
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user