paulbricman / dual-obsidian-client

A skilled virtual assistant for Obsidian.
https://paulbricman.com/thoughtware/dual
Mozilla Public License 2.0
242 stars 7 forks source link

Turn filenames into clickable links to open notes #36

Closed paulbricman closed 3 years ago

paulbricman commented 3 years ago

Right now they aren't even selectable.

paulbricman commented 3 years ago

Someone one the Obsidian Discord had the following pointer:

I think you're best option is to turn them into tags and add an onClick handlers. Then onClick you'll need to handle the navigation yourself. One example to look at is the checklist plugin - https://github.com/delashum/obsidian-checklist-plugin/blob/16fa22f6478686773f9b453b18ec48c9d6edced8/src/_utils.ts#L106. This also handles ctrl-clicking the item to open it in a new split

paulbricman commented 3 years ago

Filenames aren't returned in the chat anymore following the skill-based rewrite.