Thanks, cristian.
In fact, I may have misspoken: regardless of the number of #, what I’m interested in is how to get out of folding without having to add a next #.
Perhaps he is asking how to stop something from being foldable. I actually think it would be pretty helpful as a feature. Maybe there could be a separate request to format permanently unfoldable content within a foldable list or heading structure. This would mean that content would fold before and after this permanently flagged region. As of now, I don’t believe it is possible.
you could use this as a work around:
# 1st level (this one keep unfold)
## 2nd level heading (this one fold)
text text
## 2nd level (this one keep unfold)
text text
Thanks for the help, but i have to admit that i don’t understand your answer (!)
I come to the conclusion that there is unfortunately no solution to this headers “issue”!
it’s strange that we can’t do that, just get out of a header.
Thanks anyway.
Obsidian uses markdown, and markdown uses hierarchical # Headings to define a document’s structure.
So, there should only one # Title at the top, and all other headings under it are its children; ## First subsection marks a level 2 section; it’s a child of # Title and a parent to all the ### Headings immediately under it. A ## Second subsection may follow, with or without children. And so on.
As you can see, the only way to coherently fold Markdown sections is to observe the document’s structure — and that is based on the heading hierarchy.
If you don’t care much for Markdown document structure, Obsidian allows you to fold text according to tab-indentation:
You can select some text, type (, and both () will be inserted around the selection.
As for typing, the only advantage I can think of is in those (rare?) occasions when you won’t type anything else after the closing ) or ". (Anyway, you’d always have to manually move out of the surrounding characters; how else would the editor know you were done?)
As far as I know there’s no way to ‘escape’ the section that folds underneath a header without using another header - it goes against markdown spec but I have been using a second h1 further down the page, with no header text. In preview mode it looks/works fairly cleanly as a container for hiding stuff/separating stuff from being nested under the actual h1 title at the top.
There are several possible causes. If this is happening with the Daily Notes core plugin, submit a bug report, filling out the post template. If you’re using the Templates plugin, contact the developer. In any case, you’ll have to provide more information about your setup and how you’re trying to make it work.
Given that the Daily Note plugin settings have a field called “Date format”, and having set it there, it’s only natural that one doesn’t think of specifying it again in the {{date}} tag. I think this could qualify as a bug.
For my date problem, here’s what’s going on:
I click on the daily note button, which uses a date format i defined in the preferences, and a template I created.
But the date remains as {{date}} in the body of the text.
I just wanted a simple template like this: