macstories / obsidian-shortcut-launcher

Trigger shortcuts in Apple's Shortcuts app from Obsidian with custom commands.
MIT License
187 stars 10 forks source link

New input: Obsidian Advanced URI link to Block #8

Open ldebritto opened 2 years ago

ldebritto commented 2 years ago

External link to currently selected block.

There's already a plug-in to gather internal block links by @mgmeyers (Copy Block Link).

I'm currently working this out by using the Macro plug-in to do the following:

  1. Use the "Copy Block Link" plug-in to grab this internal link;
  2. Pass it to a Shortcut that will RegEx the title and block names and output an Obsidian advanced URI link to that block;
  3. Trigger Shortcuts Launcher to pass data to create a Things Task

However, it would be awesome to integrate these middle steps into Shortcuts Launcher.

luispuerto commented 1 year ago

I need a really similar workflow but without the need for the copy to block element.

I think that the major improvement of including Obsidian advanced URI is that you can link to a UID instead of the current obsidian URI scheme.