aboutsummaryrefslogtreecommitdiff
path: root/scripts/update_doc
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-02-10 13:55:34 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2012-02-10 13:55:34 -0500
commitb3d0b5defde02020ad41225b4b11e82c4ea90af9 (patch)
treea3f3fbfd41b21757630c1e59cbf9d9ed801fa983 /scripts/update_doc
parentfbcb4f5c1dcfa2ffa45fb82a3bad2e543ee071e9 (diff)
downloadtextadept-b3d0b5defde02020ad41225b4b11e82c4ea90af9.tar.gz
textadept-b3d0b5defde02020ad41225b4b11e82c4ea90af9.zip
Update LuaDoc with new formatting.
Diffstat (limited to 'scripts/update_doc')
-rwxr-xr-xscripts/update_doc1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/update_doc b/scripts/update_doc
index c728b338..74d1dd72 100755
--- a/scripts/update_doc
+++ b/scripts/update_doc
@@ -37,6 +37,7 @@ if luadoc then
for line in f:lines() do
if flag and line:match('^%-%-') then
local match = line:match('^%-%- ([^\n]+)')
+ if match and match:find('^%s*[*+] ') then match = match..'<br />' end
markdown[#markdown + 1] = match or ''
elseif flag then -- markdown ended
break