This is an inline dataview query which means you don’t need to put this into a dataview code block. Just put the command into the body of your note enclosed in single backticks. It will render the Folder that the note belongs to.
For example you can prefix it with a descriptor like below:
This file exists in the following folder: =this.file.folder (don’t forget to enclose the command in single backticks)
You can use inline dataview queries anywhere in your notes.
geez, I feel stupid.
I tried with single and double backticks but it always returns the string =this.file.folder
Checked the settings and it says “=” is the default inline query prefix.
you might be on to sth. try enter anything above that line and delete that line. i think inline dataview won’t render the first time u create at the top of the page.
worth to also close and open obsidian just to be sure
This how your code should looks like. I include both inline and DQL block