glow icon indicating copy to clipboard operation
glow copied to clipboard

Feature request: follow relative links in TUI mode

Open MageJohn opened this issue 2 years ago • 6 comments

Often a directory of markdown files will have relative links to each other. It would be nice if in TUI mode it were possible to follow these links directly.

Note this is seperate from OSC8 hyperlink support (#237). That hands off following the link to the terminal, but in this case it would be useful if Glow were the one following the link so that it opens in the TUI.

To select the links, I imagine pressing tab/shift-tab to move between links and then pressing enter to follow the link. If mouse support is enabled, then it would be awesome to be able to use the mouse as well.

MageJohn avatar Jan 16 '23 13:01 MageJohn

Would love to pick this up if it's available!

KaviiSuri avatar Feb 16 '23 10:02 KaviiSuri

dart.md file is in the same folder as flutter.md, which contains a link to the former.

WindowsTerminal_ZKnRaDqdww

What you are saying is that that ./dart.md link should open the dart file? Hyperlinks are properly open when holding ctrl + left click, and opening the dart file should work the same way.

carloswm85 avatar Jul 14 '23 16:07 carloswm85

That doesn't seem to work in my remote setup with tmux. I think the idea is to navigate the links with some key and then following the link with enter. Something like command line web browsers do. It sounds to me like an awesome feature.

db7 avatar Jan 11 '24 15:01 db7

This would be really nice as it would allow to make a little interactive navigator for a network of markdown files.

franalbani avatar Feb 09 '24 03:02 franalbani

I'd love this feature too so I can navigate between multiple linked markdown files without taking hands off keyboard!

askoropadsky avatar Mar 12 '24 02:03 askoropadsky