Steps to reproduce
Have a line of text which ends with a $$ LaTeX equation, with a newline directly before the closing $$.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
Headings and LaTeX both work normally. In particular, headings can still be linked to from outside the file, and they show up in the outline pane.
Actual result
Headings cannot be linked to from outside such a file, and do not show up in outline pane.
Environment
SYSTEM INFO:
Obsidian version: v1.11.5
Installer version: v1.8.4
Operating system: Darwin Kernel Version 25.2.0: Tue Nov 18 21:07:05 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6020 25.2.0
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none

