Is there a way to link to a range of blocks?

I want to create a link to a specific range of blocks within a note. For example, consider a note with five consecutive paragraphs, P1 through P5, where no other paragraphs appear between them. These paragraphs are part of a header that might include a lot of additional text.

Is there a straightforward way to link directly to this range of five blocks without relying on block quotes or other workaround methods?

I simply create five note P1 to P5 to use the link.

Summary note
![[P1]]
![[P2]]
![[P3]]
![[P4]]
![[P5]]

You can link to a block by adding #^ at the end of your link destination followed by a unique block identifier. For example, [[2023-01-01#^37066d]].

Fortunately, you don’t need to know the identifier. When you type the caret (^), you can select the block from a list of suggestions to insert the correct identifier.

2 Likes

Oh snap. ^the above. I made the gif already, so may as well post it.

I’ll just add that the ^2d5675 Obsidian generated block IDs can be custom as well.

Obsidian_xCxP1SIE0k

2 Likes

In essence: No, there isn’t. Another workaround which hasn’t been mentioned is to embed a header section around your blocks and introduce an empty header after the blocks as a delimiter. This can be made to disappear in all modes if need be.

2 Likes

While I appreciate the effort you put into this answer, I was looking for a way to use a single link that points to the range, and not different links for different blocks.

I would be interested in knowing how to make it disappear in edit mode.