PKM-er / Obsidian-Surfing

An Obsidian plugin that lets you browse the web within Obsidian.
MIT License
449 stars 30 forks source link

[Bug]: Markdown or Wiki formatted links open in external browser #255

Open brunoprela opened 5 months ago

brunoprela commented 5 months ago

Markdown or Wiki formatted links open in external browser

Markdown or Wiki formatted links open in external browser

Relevant Screenshot

No response

To Reproduce

Paste the following into an obsidian file. https://www.google.com/ [google link](https://www.google.com/) [[https://www.google.com/|google link]]

The first link opens as expected. The second and third links open in an external browser. The second link additionally does not support hover preview, but that isn't super important to me compared to the external opening issue.

Obsidian Version

v1.6.1

web-browser-only

Checklist

brunoprela commented 5 months ago

I actually realized that I can just click the external-link icon twice and I will get the result I want. It's still strange that I cannot just click the linked name directly and get it opening in the obsidian browser. Anyway this is far more than I was expecting and this is such an amazing plugin. Creators please feel free to close this issue if you deem the behavior appropriate enough.