aboutsummaryrefslogtreecommitdiff
path: root/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua
diff options
context:
space:
mode:
Diffstat (limited to '_extensions/ruc-play/semantic-markdown/semantic-markdown.lua')
-rw-r--r--_extensions/ruc-play/semantic-markdown/semantic-markdown.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua
index 4c8b5e7..4e7c3e5 100644
--- a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua
+++ b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua
@@ -167,7 +167,8 @@ function Statements (blocks)
goto continue
end
- -- unenclosed
+ -- unenclosed, entering bracketed enclosure
+ -- TODO: support nested bracket enclosure
if not (pos_bracketed or pos_braced) then
_, pos_bracket_begin = string.find(el.text, "%[")
if pos_bracket_begin then
@@ -175,8 +176,8 @@ function Statements (blocks)
end
end
- -- enters a bracket enclosure
- -- TODO: maybe support nested bracket enclosure
+ -- in bracketed enclosure, entering braced enclosure
+ -- TODO: support nested bracket enclosure
if pos_bracketed and not pos_braced then
_, pos_brace_begin, s = string.find(el.text, "^([^%[%]}]*)%]{",
pos_bracketed)
@@ -188,7 +189,7 @@ function Statements (blocks)
-- (ignore space-delimited enclosures: not in spec for inlines)
- -- completes a brace enclosure
+ -- in braced enclosure, leaving it
-- TODO: support mixed-use enclosure
-- TODO: cover curie_prefix and curie_local and curie_default
if pos_braced then