Steps to reproduce
Paste each sample into its own note and open Reading view.
[ a ] and [a]
[a]: https://example.com
[a]
[ a ]: https://example.com
[foo][bar][baz]
[baz]: https://example.com
[foo][ref[]
[ref[]: https://example.com
Did you follow the troubleshooting guide?
Yes (reproduced in the sandbox vault, no community plugins).
Expected result
CommonMark 0.31.2 trims a label and collapses its inner whitespace before matching, pairs [foo][bar][baz] from the left, and forbids unescaped brackets in a label:
[ a ]and[a]are both links.[a]is a link to the[ a ]:definition.[foo]+ a link with textbarto the[baz]destination (spec example 569).- No link and no definition: both lines are text (spec example 546).
Actual result
[ a ]stays text; only[a]is a link.[a]stays text.[foo][bar]stays text andbazis the link.- The second line is taken as a definition (it disappears), and the first renders as
[foo]ref[].
Environment
SYSTEM INFO:
Obsidian version: 1.14.5
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 (546, 569, and also 545, 552, 571) and on the samples above, in Reading view.