obsidian-advanced-uri icon indicating copy to clipboard operation
obsidian-advanced-uri copied to clipboard

Shorthand for common usages

Open NomarCub opened this issue 3 years ago • 4 comments

Built in URLs have some shorthands for common uses that omit ? and query strings. They would be convenient here too.

For example I can imagine writing obsidian://advanced-uri/your-vault/my-file/Goal instead of obsidian://advanced-uri?vault=your-vault&filepath=my-file&heading=Goal.

NomarCub avatar Jul 01 '22 12:07 NomarCub

I think you are one of the top issue authors at my plugins. 😂 I really like the idea. I don't know if that's achievable with the available plugin API, but I will try when my vacation ends.

Vinzent03 avatar Jul 10 '22 20:07 Vinzent03

I must've gotten good at wanting new features 😄 Thanks for the consideration, it's not critical by any means. Have a nice vacation!

NomarCub avatar Jul 10 '22 20:07 NomarCub

If I rember correctly, the most of them were bugs with Obsidian Git, but sure let's call them feature requests... 😂 Thanks

Vinzent03 avatar Jul 10 '22 20:07 Vinzent03

I tried it, but it looks like Obsidian doesn't support this. The scheme is obsidian://<action>?<query-parameters>. action needs to be specified by the plugin, but since it's variable if you pass the file name, it's currently not possible. At least, I don't know a way currently.

Vinzent03 avatar Jul 16 '22 20:07 Vinzent03

I'm closing this now, as I see no way to implement it.

Vinzent03 avatar Feb 04 '23 11:02 Vinzent03