Why do my embedded headings automatically fold?

Hello dearest Obsidian wizards.

My issue:

When I try to embed headings from other notes in my vault, some random amount of embedded headings will automatically be folded (even if they were not folded in their respective notes).

See example below: (warning: despicable)

See the embedded heading? It should not be folded. When I go to that note/heading IN that note, it isn’t folded. Despicable.

When I click/visit the note in question, then return, the embed will be unfolded:

However, doing this every time is getting annoying/disruptive/despicable. Why can’t it just display the embedded heading?
This is INCREDIBLY FRUSTRATING (not good!) I have a lot of embeds, so this is quite tiresome when I’m journaling/studying/writing.

This problem has persisted for a few months and I can’t seem to fix it.

Any ideas?

What I’m trying to do

I want all embedded headings from internal notes in the vault to be automatically expanded, instead of sometimes arbitrarily collapsing

Things I have tried

  • Toggling “Fold Headings” in Obsidian core settings (even without any folded settings, some headings will still not display properly)
  • .css snippets (I’ve tried writing a few but to no avail)
  • Disabling all plugins/snippets, still happens
  • Fidgeting with embed spacing/page spacing options
  • Therapy

Thanks!!

You mention css snippet but did you try with Obsidian default theme ? :thinking:
Or in the Sandbox vault (which you can open from the command palette)

It could also be worth mentioning on which device/OS this is happening and what’s your version of Obsidian …

I try to repro (on Mac) but couldn’t :woman_shrugging:

Tried with Obsidian default. No luck.
I tried a bunch on sandbox and did not notice the issue.
I’m on Obs 1.10.3, Windows. I don’t think it happens on mobile, I will check.

Could you paste the source text of your examples here and mark them as code so we can see it? It looks like maybe you have a callout with the same title as the heading it’s under, but it’s hard to tell.

Here is the source code for the exemplar heading (from note [[Chapter2]]):

#### Mold In Pyotr's Room–1/28/2025, 3:46 AM^18
![[Chapter3#Mold In Pyotr's Room–1/28/2025, 3 46 AM 18]]

I should note that after visiting the embedded note and returning, it will properly display the embed. So I don’t think the confusion is in the same-named heading in different notes.

If no idea, thanks for the help anyways

Could you post some content from the ![[Chapter3#Mold In Pyotr's Room–1/28/2025, 3 46 AM 18]] section as well so we try to repro the issue?


I know you mentioned disabling plugins/snippets earlier, but this leads me to believe it may be theme related. As Pch mentioned above, have you noticed the issue using the default theme?

Sure, here is the source code of the embedded note. I don’t know if it’s related to the content of the embed, as I’ve noticed this issue occurring seemingly randomly on all sorts of embedded headings, and I’ve not found a pattern. I will keep attenuated to any possible pattern. Until then:


##### Mold In Pyotr's Room–1/28/2025, 3:46 AM^18
- [[Chapter 3]] | [[Chapter 2]]
- ❅ | Oh sweet shi-tzu they can see my diary now 
Pyotr. Water gun spitting, like I did with Chris in the pool. Should blast the mold away.

Mold in his room.

I toy with my headphones. The wire knocks the rose off the stick I have in the plastic pot of dirt in the vast canopy of my shelftop debris. I always break Beauty, but it takes having Beauty around to be capable of destroying it. Even on accident.

♪ Skipping Stones. Put Out the Fire. Try to Breathe.

There is always more to add.
But in this vast swirling chaos we share,
there is not enough time.

So I will be back.
Tonight or tomorrow.

Love and all else well.

As to themes; I did still notice the issue on the default Obsidian theme. I’m currently using Minimal Theme. I am able to fold/unfold the embedded heading on the default Obsidian theme (which is slightly less annoying), but otherwise the issue still persists.

While I don’t think I noticed it on Sandbox, disabling all plugins, themes, css snippets, etc. didn’t seem the fix the issue.

Again, thank you all for your responses in helping tackle this