Replies: 1 comment
-
Okay, I have found one way. I exploit that Templater throws an error for If others are looking for this, I am attaching my code.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
just starting out with templater and I love it.
So for my people template I want to have a case, that if the note for firstname-lastname already exists, then dont create a new note but open the already existing note.
I will just attach my code down below. With this, the existing note firstname-lastname.md is openend in a new tab, but also an Untitled note is created, which I want to avoid.
Any input? Is there an exit function in templater or can i "misuse" antoher function for this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions