Steps to reproduce
try entering setext headings, such as:
1 Setext (correct)
===
2 Multiline
Setext (incorrect)
---
3 Setext one equals (correct)
=
4 Setext one indent one equals (only edit)
=
5 Setext one minus (only read)
-
Did you follow the troubleshooting guide? [Y/N]
Yes.
Expected result
A Setext heading underline is any line consisting of any number of - or = characters, 0-3 indents before, and any number of spaces after, it turns what would be a paragraph before it into a heading.
All of the above are examples of correct Setext headings
Actual result
Only the first and third line are correctly recognized as a headings in both read and edit view.
the second one leaves out the first line in the edit view, and is interpreted as text followed by break by read view.
The fourth is only recognized in the edit view, not the read view.
The fifth one is conversely only recognized in read, not edit (this one is perhaps understandable, as it is likely to occur temporarily during writing)
Environment
SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.8.3
Operating system: Windows 10 Home 10.0.19045
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