Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add hyperlinks support #55

Closed
radarek opened this issue Jun 6, 2019 · 2 comments
Closed

Feature request: add hyperlinks support #55

radarek opened this issue Jun 6, 2019 · 2 comments

Comments

@radarek
Copy link

radarek commented Jun 6, 2019

Describe the problem

Some terminals support hyperlinks. You can try following code in terminal:

printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'

In iTerm it prints underlined This is a link and hovering it with cmd key I'm able to click on it and browser opens http://example.com link.

It would be nice to have a gem to:

@piotrmurach
Copy link
Owner

Hey Radek,

Thank you for making me aware of this! I think this is useful but I'm not 100% sure it deserves it's own gem, after all, it's a single line of code. But I will think about it. Maybe a single tty package that detects and implements links, let's see. However, there is a place I could totally use this feature in tty-markdown

@piotrmurach
Copy link
Owner

Hey @radarek I have goods news, your suggestion is now reality tty-link. Enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants