Is there a URI that opens note if it exists and otherwise creates it if it doesn't?

obsidian://open and obsidian://new work well but I want to use open and have it do new if the note doesn’t exist. I’m trying to make what’s essentially a queue in my browser with html/js and to be able to open notes that I tag there with a shortcut but it’s not super convenient to have to manually create notes each time I want to have one.

You can use the optional append parameter of the new action. https://help.obsidian.md/Advanced+topics/Using+Obsidian+URI#Action+`new`

I don’t know if it adds a blank line when you append nothing.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.