How to open external link in browse?


#1

Hi there,

My package generates HTML in a ScrollView with some links. The links are properly generated (by looking at the HTML) but when I click on them nothing happens. I would really like to open the link in the default browser vs. using an extension like web-view.

Any ideas? Is this normal behaviour or am I doing something wrong?

Thanks!


#2

When I click on a link in a Markdown Preview window, it opens in my default browser. So I would look to see how it is implemented there.


#3

Funny you mention it because I looked at the markdown preview package code many times while writing my package for examples and see how things are done.

However I don’t see anything related to opening links in there that helps me. I honestly haven’t really had time to debug this issue today so I’ll take a more serious look at it tomorrow.


#4

For some reasons it seems that having a link in prevents it from opening. I removed the tags and now it works just fine.


#5

I moved a post to a new topic: Clicking on link in Markdown Preview doesn’t open