<%* const title = tp.file.title; const uri = 'obsidian://open?vault=Vault&file=' + encodeURI(title); const fullstring = '[' + title + ']' + '(' + uri + ')'; navigator.clipboard.writeText(fullstring); %>
Last active
December 20, 2022 14:36
-
-
Save selfire1/9b69a35840d02405942a3f9739276b3e to your computer and use it in GitHub Desktop.
Template for the Templater Obsidian plugin to copy current Obsidian note as markdown link
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @selfire1 and @mdroidian !!!!
Just to let you guys know that this snippet saved my Obsidian Life π
I was struggling for weeks trying to use templater to change the content of the clipboard.
Thank you very much for sharing this πππ