Copy Markdown Link

Use case or problem

It’s a bit cumbersome to take a note name, it’s url, and format it as a Markdown link.

Why would we want to do that? Why not just use an internal link like [[this]]? Well it’s very helpful to create Markdown links like [this](] when you want to make a link to that obsidian note, that can be opened outside of that vault. For example linking between vaults, or links inside of other apps.

Proposed solution

This is just a nice quality of life feature. Just as there is a “Copy Obsidian URL” command. It would be nice if there were a “Copy Obsidian URL as Markdown link” command. This command would take the note name, the note url, then format it like so and copy it to the clipboard:

[note name](obsidian://open?vault=My%20Vault&file=note%20name)

Current workaround (optional)

Basically I just copy the note name, and obsidian URL and manually format it. Not hard, but it could be more convenient.