buttons icon indicating copy to clipboard operation
buttons copied to clipboard

How to use buttons to navigate to a note

Open mayankkalbhor opened this issue 1 year ago • 2 comments

I read all the docs and also tutorials but did not found this. So if i have button and i need an action to go to a note say "XYZ.md" how to write the action for this

mayankkalbhor avatar Oct 03 '22 03:10 mayankkalbhor

In the file explorer, right click on the note you want to navigate to. You should see an option to copy the uri for the note.

Create a link button:

name Goto Note type link action $COOIED_URI

A PR adding this to the docs would be accepted and merged.

shabegom avatar Oct 05 '22 03:10 shabegom

Ok i did this and its working fine

name Home
type link
action obsidian://open?vault=General&file=Home
color blue

But it takes some time to navigate to the desired note. Cant we make this fast like Obsidians Navigate forward and backward buttons at the top. They are really fast.

Is the above correct button syntax i am using?

mayankkalbhor avatar Oct 05 '22 13:10 mayankkalbhor