KevinBatdorf / obsidian-raycast

Raycast extension with commands for the note taking app Obsidian.
MIT License
108 stars 19 forks source link

Looks like templater isn't triggered when creating new daily note from raycast #92

Closed constpetrov closed 4 months ago

constpetrov commented 4 months ago

Part of the template I have for the daily note in obsidian is <% tp.file.cursor() %> to set the cursor to the specific position when file is created. When I create a new daily note from Obsidian it works as intended. However, when the creation of a new daily note is triggered from Raycast this part of the template isn't processed. It stays in the file as if it is some text, and the cursor doesn't move to the intended position.

KevinBatdorf commented 4 months ago

It might be a limitation of the Advanced URI plugin?

The Raycast extension would prepare a link like this (update with your vault name): obsidian://advanced-uri?vault=&daily=true&data=Hello%2520World&mode=append

Does the same thing happen?

constpetrov commented 4 months ago

Yes, unfortunatelly it seems to be the case.