Links to headings within same not sometimes not auto-completing and/or being created

Once you’ve done the above, delete everything above this line.

Steps to reproduce

Copy the text from this file into a blank note in the sandbox

Bring up autocomplete for a link in the file by typing “[[#”

type “week”

ENG1005.md (48.4 KB)

Did you follow the troubleshooting guide? [Y/N]

Yes.

Expected result

These links to the headings to be auto-completed and work.

Actual result

When scrolling, the headings for week 6, 8, and 9 do not appear in the suggestions list, and when typed out do not work as links (whereas the others do)

Environment

(from sandbox)

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.7
Operating system: Windows 11 Enterprise 10.0.26200
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


Additional information

None

It looks like there are errors around line 578 and line 711. Have a look in Reading view to verify.

Obsidian_RrHEZHW6iK

Obsidian_D7eocO0DiQ

If you fix those up, moving the $$s to their own line (line 548) and adding a new line after the list item (line 711) , linking to specific headings and auto-completion should start working.


Related: