On 07/12/2022 01:28, Jens Lechtenboerger wrote:
Hi there,
the syntax for Text Markup such as *bold* at [1] specifies
PRE MARKER CONTENTS MARKER POST with
CONTENTS as BORDER BODY BORDER and
BORDER as “Any non-whitespace character.”
What is the role of BORDER here? Does it really exist?
I think, the idea is to stress that
/ / or * word *
must not be considered as emphasis.
What is BORDER if CONTENTS should be a single character, e.g., in
the two strings “*x*” and “~*~”? Are single characters forbidden?
The spec is not precise here. It is close to the code that actually
allows single character contents, see
`org-element--parse-generic-emphasis' and the docstring of
`org-emphasis-regexp-components'.
Perhaps it should be stated as (in regexp notation)
BORDER (BODY? BORDER)?
or as alternatives
BORDER or BORDER BORDER or BORDER BODY BORDER.