Steps to reproduce
Make an indented math block in a list, spanning multiple lines. One of the lines in the math block contains a - string
-
$$
some math
-
$$
Pressing enter/new line on this line containing -, with smart lists enabled, will start unindenting that line, instead of making a new line
Did you follow the troubleshooting guide? [Y]
Yes
Expected result
The line containing - should make a new line inside the math block on the same indentation level
-
$$
some math
-
$$
Actual result
-
$$
some math
-
$$
Environment
SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.6.7
Operating system: #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 6.8.0-71-generic
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: off
Plugins installed: 0
Plugins enabled: 0
RECOMMENDATIONS:
none
Additional information
If there is text on the line containing -:
-
$$
some math
- some math
$$
Behavior is different on pressing enter:: Newline is created with a - in front.
-
$$
some math
- some math
-
$$
(see source - this is not rendered correctly)