@gsf I can’t tell you for sure, but I don’t believe there is any specific markdown code to escape header determined folding.
You could open a new topic for this question, because I wouldn’t want to put you in error for lack of knowledge.
But in case this functionality doesn’t exist, I don’t see any other way than to use the headers themselves, at or above the level you want to get out of. For example:
# header 1
## header 2
### header 3
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Donec vulputate orci non rhoncus malesuada.
### ¶
Morbi tristique dapibus arcu, vel dignissim nunc auctor id.
Donec sit amet nibh eu orci hendrerit pharetra.
In this case, ### ¶
would be a fake header, only intended to escape the folding of ### header 3
. Headers without text are operational in Obsidian, and:
###
Morbi tristique dapibus arcu, vel dignissim nunc auctor id.
Donec sit amet nibh eu orci hendrerit pharetra.
… will be visible in edit mode but invisible in preview mode, while retaining the possibility of folding the escaped paragraph.
There are also .css stylesheets (example: Red-Graphite - css) which make the syntax of headers more discreet, by reducing their size:
.cm-formatting-header {
font-size: 0.6em;
}
This could contribute to simulate a difference between real headers (titles) and fake headers without text (escaping header folding).