aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/markdowndoc.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-10-29 20:45:58 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-10-29 20:45:58 -0400
commitfa38d2306fadc99bb1403433517ecf45a24062eb (patch)
tree19f286adb6be4cbd7a1b11fc1c880976a01ea9fd /doc/markdowndoc.lua
parent6718de08a3f19f8c24c1c4167b05828a7ac0dfd7 (diff)
Updated documentation formatting.
Pathnames and filenames are italic and be more consistent with constant width text.
Diffstat (limited to 'doc/markdowndoc.lua')
-rw-r--r--doc/markdowndoc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/markdowndoc.lua b/doc/markdowndoc.lua
index 603b4f07..1ae9f929 100644
--- a/doc/markdowndoc.lua
+++ b/doc/markdowndoc.lua
@@ -264,6 +264,7 @@ function M.start(doc)
template.toc = template.toc:gsub('(<a.-)%b()(</a>)', '%1%2') -- strip params
:gsub('<code>([^<]+)</code>', '%1') -- sans serif
:gsub('_G.(events.[%w_]+)', '<small>%1</small>')
+ :gsub('rectangular_[%w_]+', '<small>%0</small>')
:gsub('SC_[%u]+', '<small>%0</small>')
f = io_open(M.options.output_dir..'/api/'..name..'.html', 'wb')
local html = HTML:gsub('%%%(([^)]+)%)', template)