Obsidian seems to support math displays (using double dollar delimiters) even if they do not start in a new line and also seems to render them differently (with less space to the previous paragraph, compared to new lines). However, doing so can sometimes break the outline sidebar.
Steps to reproduce
In the sandbox vault, paste
# Header
Text $$
Math
$$
# Other Header
text
Open the outline sidebar.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
Outline showing
- Header
- Other Header
Actual result
Outline shows:
- Header
Environment
SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.4.13
Operating system: #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2 6.8.0-45-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0
RECOMMENDATIONS:
none