[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: asterisk allowed for list items
From: |
Ihor Radchenko |
Subject: |
Re: asterisk allowed for list items |
Date: |
Fri, 29 Apr 2022 20:15:55 +0800 |
c.buhtz@posteo.jp writes:
> 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?
Headlines always start at beginning of line and have stars followed by space:
* this is a heading
** this is also a heading
**but this is not (no space after stars)
* this is a list item (star not at bol)
Would you be interested to contribute an example to
https://orgmode.org/worg/dev/org-syntax.html#Items ?
Best,
Ihor
Re: asterisk allowed for list items, c . buhtz, 2022/04/29
Re: asterisk allowed for list items, Ihor Radchenko, 2022/04/29