[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntax question: What is BORDER in 4.17. Text Markup?
From: |
tomas |
Subject: |
Re: Syntax question: What is BORDER in 4.17. Text Markup? |
Date: |
Tue, 6 Dec 2022 19:54:11 +0100 |
On Tue, Dec 06, 2022 at 07:28:20PM +0100, 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?
>
> What is BORDER if CONTENTS should be a single character, e.g., in
> the two strings “*x*” and “~*~”? Are single characters forbidden?
Yes, this seems a bit unfortunate. The BORDER char may be identical
to the BODY. So *f* and *ff* are both valid markups.
Perhaps it'd be clearer to forget about the BORDER, only talk about
BODY and say that BODY is not empty and doesn't start or end with
a whitespace character.
Cheers
> [1] https://orgmode.org/worg/org-syntax.html#Emphasis_Markers
--
t
signature.asc
Description: PGP signature