No, that’s not what I wrote. Let me clarify my view further (you might want to skip this, and jump to my “actual list syntax-rule change” proposal below …):
If the rules should be changed with the intent to cursory (and IMO: arbitrarily, ie without good reason nor gain) preclude single-item lists in CommonMark, then at least make sure that this will produce a (yes: one-item long) list:
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
1.⎵Donec a diam lectus.
Sed sit amet ipsum mauris.
Because the following will still produce a list, right? (Or I’ll let go all hopes for the syntax …)
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
1.⎵Donec a diam lectus.
2.⎵Donec sed odio eros.
Sed sit amet ipsum mauris.
If you disagree—and suggest that the first input would better not create a list, but the second input should—then I’d ask you: how is that not moving in the direction of a rule that’s non-uniform, and a rule that would enforce this would not only be “non-uniform”, but also lack any good reason, and fails to accomplish any advantage, as far as I can see from the discussion so far.
So if you ask me what I’d propose: I see only two reasonable decisions here:
-
Leave the syntax rules as they are now: They are not “perfect”, but I see no pressing need to change them. A free-standing line (preceded and followed by a blank line) starting with “1986.⎵
” would still produce a list item, but considering that such a situation is (a) quite easy to visually recognize and to fix while writing, and (b) impossible to arise “inadvertently” through re-formatting a paragraph’s text—why the impetus to rule out any and all list with only one item as a “remedy”?
-
Change the syntax rules to avoid “unwanted” list items: The motivation behind your “`1986.⎵What a great season.” example seems to be that this might produce a list item where none is intended—otherwise, this whole discussion would be for naught. But “avoiding unwanted list items” has little to do with the number of items in a list, and precluding single-item lists is IMO arguably the wrong approach to do it, see below.
Consider an input text where your line appears inside a paragraph like this:
Oh, I still remember
1986.⎵What a great season.
We don't have those today anymore. Or wait 'till
3.⎵October.
Simply declaring single-item lists “verboten” won’t help in this case: as I understand it, this would still produce (as it will now, and as cmark
does output):
-
An ordinary paragraph with character content “Oh, I still remember
”;
-
A two-item long, ordered list where
- the first item has content “
What a ... Or wait 'till
”, and a start
attribute value of 1986
; and
- the second item has content “
October
”, and an (implied) item number of 1987
.
Assuming that creating a list like that was not the intention here, observe that:
-
Even if single-item lists are forbidden, this paragraph would still generate a (two-item!) list;
-
If you’d replace the FULL STOP following “3
” in the last line by say a COMMA, then—assuming single-item lists were forbidden—the paragraph would suddenly not produce a list any more: how’s that for a subtle change in the input text with non-local consequences?
-
The “3.⎵
” in the last line could plausibly have ended up there as a result of re-formatting the input text paragraph (as I have tried to show by making it grammatically part of a sentence).
-
To check whether this (or any other) block of lines will be treated by a CommonMark processor as a “plain” paragraph, or will be split into list items, one must inspect each and every line start in it: this is so according to the current syntax rules, and it would still be the case according to rules where “single-item” lists were “forbidden” (excluded, suppressed, not accepted, …).
An actual list syntax-rule change proposal
All in all I’d agree that the current rules make the “inadvertent creation” of list items too easy, and too hard to avoid, in particular in cases where the input text has undergone some automatic line-breaking process (be it a text formatter, be it a text generator).
But instead of precluding single-item lists it would seem more sensible and useful to drop the rule that “list item lines” (ie lines starting with “3.⎵
” or “-⎵” etc) can interrupt a paragraph even if that paragraph so far was nothing else but an ordinary piece of text, ie a “plain” paragraph which did not start with a list item (marker).
Dropping this rule seems even more sensible when taking into account that the rule is not needed anyway, namely: it achieves nothing what couldn’t be achieved without it (as the “Bananas.
” examples above should make clear), simply by inserting a blank line before the intended first item line of a list to create.
Does this make sense?