Steps to reproduce
Paste each sample into its own note and open Reading view:
foo
*
foo
1.
- a
- b
- c
- d
- e
-
foo
1234567890. not ok
Did you follow the troubleshooting guide?
Yes (reproduced in the sandbox vault, no community plugins).
Expected result
CommonMark 0.31.2:
- An empty list item cannot interrupt a paragraph, so both are two-line paragraphs,
foo *andfoo 1.(example 285). - eis indented 4 spaces, so it is a lazy continuation ofd, not a new item: four items, the lastd - e(example 312).- A list item can start with at most one blank line, so this is an empty item followed by the paragraph
foo(example 280). - An ordered marker has at most 9 digits, so this is a paragraph (example 266).
Actual result
foo, then an empty bullet list;foo, then an empty numbered list.- Five sibling items
atoe. - One item holding the paragraph
foo. - A numbered list starting at 1234567890.
Also: a list marker alone on a line takes the next unindented line as its content (- then text gives one item text), and a paragraph indented less than the item’s content column after a blank line stays in the item (example 257).
Environment
SYSTEM INFO:
Obsidian version: 1.15.0
Installer version: 1.14.4
Operating system: Windows 11 Pro 10.0.26300
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Sandbox vault, no community plugins, default theme and settings.
Additional information
Measured on the CommonMark 0.31.2 spec examples 257, 266, 278, 280, 285, 312, 313 and 367 in Reading view. Related but different: Paragraph of a certain form is swallowed by list and Dates (numbers with periods) get parsed as list items (a number and a period with no space after it).
Case 1 is the one most likely to hit real notes: a line holding only * or 1. under text (for example a footnote marker or a stray bullet) turns into an empty list.