Your Note Name
GPT4s forklaring:
> This script does the following:
>
>- Initializes a variable `noteName` with the name of the note you're searching for.
>- Gets a list of all Markdown files in the vault.
>- Iterates through these files to check if any match the name of the note you're interested in.
>- If a matching note is found, it sets `noteExists` to true.
>- Finally, if the note exists (`noteExists` is true), it generates a markdown link that, when clicked, will open the note in Obsidian. If the note doesn't exist, it outputs a message saying so.