Skip to content

Commit 01b6c00

Browse files
author
peter
committed
bold iface
1 parent 8e999eb commit 01b6c00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tiny.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ if API == 'stead3' then
1616
return '/'..str..'/'
1717
end
1818
end
19+
function iface:bold(str)
20+
if type(str) == 'string' then
21+
return '*'..str..'*'
22+
end
23+
end
1924
std.mod_start(function()
2025
std.mod_init(function()
2126
std.rawset(_G, 'instead', instead)

0 commit comments

Comments
 (0)