Dataview plugin snippet showcase

Hi, I want to list all files that link to my current note.

LIST
FROM [[]] AND #zettel
WHERE
	contains(source, this.file.link)
	AND "Permanent notes"

and it works fine, but only display files that link to the whole file, but not to a block of that file.

It lists files that have:

source:: [[The Book]]

But not the ones that have

source:: [[The Book#^3cd5dd]]

What do I need to change in that query to get a list of files that link to the whole file OR to a block in that file?

1 Like