Support "Copy title as link"

In Linear, there is a very cool function called “Copy title as link”. It copy link in markdown format with the title of the ticket. It is very useful if bear also support this. Existing copy link (⌘⌥⇧L) only copy the link while it takes extra step to copy the title of the note each time.
image

With supporting this function, it will be very easy copy title as link and link in the other application supporting markdown.

Example:
[note-title](bear://x-callback-url/open-note?id=ABC)

2 Likes

This Shortcut get the job done BUT…

it’s far from ideal. This particular Open x-callback-url action always brings the Shortcuts app to front when run, which is highly disruptive. I’m not aware of a means to prevent that.

Problem can be solved if Bear adds a new Shortcut action to Get current note or Get identifier of current note or Get selected notes that can run in the background. That particular action is offered by many well-regarded apps, including News Explorer which I use every day.

There have been suggestion about that in this forum:
Feature request: automation to get current note ID — Beta / Panda Feedback — Bear Community (2023)
Additional Shortcut Actions I would like! — Beta / Panda Feedback — Bear Community (2022)

I’m surprised that some commenters in those threads thought the x-callback-url approach was sufficient. Had they actually tried the suggested shortcuts themselves?

Add this to the Share sheet:

Then, paste where you want it to go in other app.