|
From: | c . buhtz |
Subject: | Re: asterisk allowed for list items |
Date: | Fri, 29 Apr 2022 12:17:24 +0000 |
A "*" is allowed or recognized as a list item instead as a head only if there is one (or maybe more) whitespace space in front of it.
But "-" and "+" also recognized as starts for list items without any trailing whitespace in front of them.
Sidenote: As someone who writes software that parse org-content I would suggest to make the whitespace in front of a list item mandatory even for "-" and "+". It would reduce code complexity.
Am 29.04.2022 13:53 schrieb c.buhtz@posteo.jp:
I was looking into https://orgmode.org/worg/dev/org-syntax.html#Items to find out which characters are allowed as "bullets" for unorderd lists. I cite from there "An asterisk, hyphen, or plus sign character (i.e., *, -, or +)." I wonder why * is allowed because * also starts a heading. So how does a piece of software/parser decide if a line starting with an * is a heading or a list item?
[Prev in Thread] | Current Thread | [Next in Thread] |