Use case or problem
Folding a heading currently collapses all content beneath it into a very compact block jamming all headings together.
Proposed solution
My suggestion is leaving last blank lines beneath a wrapped heading visible.
The idea is purely visual: even when sections are collapsed, the document structure remains easier to scan because headings aren’t stacked tightly against each other.
This would make large notes feel less visually dense and improve readability/navigation.