Block reference doesn't work for headers

Steps to reproduce

  1. Create a block reference by typing [[^^ and selecting a block. This appends a hash to the end of the block, for example ^abcdef.
  2. Type any number of # at the beginning of the referenced block so that it becomes a header.

Expected result

The block is still referenced by its hash value ^abcdef.

Actual result

Upon hovering, the popup says Unable to find section #^abcdef in {note_title}.

Clicks lead to the beginning of the note.

Environment

  • Operating system: Arch Linux (5.11.16-arch1-1)
  • Obsidian version: v0.12.3

Additional information

image

I can’t reproduce this. Post a screen recording of this happening in the help vault

Oh, I got it! I couldn’t reproduce it too at first. It’s not only a header but a header insider a marked list (I organize all my notes in that nested way):

image

image

It only doesn’t work this way.

Please, open a feature request to add support for this.

1 Like
1 Like