aboutsummaryrefslogtreecommitdiff
path: root/doc/markdowndoc.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2014-06-07 11:33:45 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2014-06-07 11:33:45 -0400
commite56735ed361d707618c8c45b56efffd51194ef30 (patch)
treea83ae65aa492ac5f4cf96f38d7512216901ac172 /doc/markdowndoc.lua
parent27d8dcdf343f8109654701563d84d8ba7c1ce4a9 (diff)
downloadtextadept-e56735ed361d707618c8c45b56efffd51194ef30.tar.gz
textadept-e56735ed361d707618c8c45b56efffd51194ef30.zip
Added buffer constants to buffer LuaDoc and improved Lua tags and api generator.
Diffstat (limited to 'doc/markdowndoc.lua')
-rw-r--r--doc/markdowndoc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/markdowndoc.lua b/doc/markdowndoc.lua
index c32dcc4e..eb9e4803 100644
--- a/doc/markdowndoc.lua
+++ b/doc/markdowndoc.lua
@@ -269,6 +269,9 @@ function M.start(doc)
p:close()
template.toc = template.toc:gsub('(<a.-)%b()(</a>)', '%1%2') -- strip params
:gsub('<code>([^<]+)</code>', '%1') -- sans serif
+ :gsub('>CASEINSEN[%w_]+', '><small%0</small>')
+ :gsub('>FOLDFLAG_[%w_]+', '><small%0</small>')
+ :gsub('>WRAPVISUAL[%w_]+', '><small%0</small>')
:gsub('>rectangular_[%w_]+', '><small%0</small>')
:gsub('>_G.(events.[%w_]+)',
'><small>%1</small>')