Max Nikulin <maniku...@gmail.com> writes: >> No, not zero-width space. Literally, {{...}}. The idea is to define >> delimiters as "[{]+" the matching number of "}". This way, we do not >> need to worry about escaping "}" inside and can get nested markup for >> free. It is more or less how Org parser works for special block: >> the opening delimiter is #+begin_whatever is matched against >> #+end_<same as opening delimiter>. > > I am afraid, there is an issue if wrapped content is surrounded by > braces. An ambiguity arises for > > @wrap{{{content}}} > > it may be @wrap{{{ content }}}, @wrap{{ {content} }}, > or @wrap{ {{content}} }. It seems, some escape character is unavoidable.
For such tricky cases, yes. Either escape character or another suggested approach with "empty" joiner entity like \-- -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>