question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clicking a link should open it in the browser

See original GitHub issue

Description

Clicking a link either added directly or with markdown syntax []() should open it in the browser.

Steps to reproduce

  1. Add a link like https://example.org or [https://example.org](https://example.org)
  2. Click it

Expected behavior: The link should open in the browser

Actual behavior: Nothing happens

Link to an example:

Versions

  • Mark Text: v0.12.25 installed from flathub
  • OS: Linux

Thanks for this awesome markdown editor. 👍 Probably the most promising I’ve ever tried. 😉

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
Jocscommented, Jul 17, 2018

@juliushaertl Thank you very much for your suggestion, we have also considered this feature. And we are also thinking about how to achieve a better user experience. Our requirement is to jump directly to the document if it is an internal link, or open it through a browser if it is an external link. The initial plan is use ctrl/cmd + leftMouseClick to open them. What’s your opinions?

2reactions
beorncommented, Mar 19, 2019

I think all of these are okay, even Cmd-Click to have it open like Typora does, which is even faster to use. It’s just nice to have at least one way to open links 😃

I guess later it might be even nice to try to open links without URI protocol spec inside of Mark Text itself (as you mention), but pass all others to some OS-level URL-link opener so you can make a wiki type knowledge base. For example:

  [internal link](another_file.md)

  [external file: link](file:another_file.md)

  [external web link](https://www.google.com/)
Read more comments on GitHub >

github_iconTop Results From Across the Web

What happens when you click a link in the browser? - Tara Ojo
So, in simple English, when you want to go to a website, you type it into a browser, or click a link in...
Read more >
Click on the link on current web page should open
Click on the link on current web page should open browser in another tab. When click on the link on the current web...
Read more >
How to Force Your Browser to Open a Link in a New Tab
You can load any link in a new browser tab by clicking or tapping on it while holding down the Control key (Windows)...
Read more >
How to Use HTML to Open a Link in a New Tab - freeCodeCamp
If you click on the link above, the browser will open the link in the current window or tab. This is the default...
Read more >
How to Open a New Tab When Clicking a Link in Google ...
All modern browsers support the use of multiple tabs, and when you open Google Chrome, it will remember which sites you had open...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found