Help displaying "OSC 8" links
I have a bash script that displays a markdown file with "formatted" hyperlinks in the terminal and I would like to add paging support to it, basically it is a regex s/\[(.+?)\]\((.+?)\)/\x1B]8;;$2\a\e[4m$1\e[24m\a\x1B]8;;\a/g; that takes the occurrences of markdown hyperlinks "(title)[url]", turns it into just "title" and makes it bold and clickable using ´ANSI´ and ´OSC 8´ escapes, adds it to $FILE and prints, with ´echo´ (then just add ´ | most´ in front of it).
Apparently what is treated only with ANSI works well (other md elements), but the OSC' links do not. Does ´most´ support this? If yes, how to enable it?
Please send me an example. Thanks, --John
On Sat, 29 Jun 2024 10:51:19 -0700, DanielKaleby @.***> said:
I have a bash script that displays a markdown file with "formatted" hyper= links in the terminal and I would like to add paging support to it, basic= ally it is a regex
s/\[(.+?)\]\((.+?)\)/\x1B]8;;$2\a\e[4m$1\e[24m\a\x1B]= 8;;\a/g;that takes the occurrences of markdown hyperlinks "(title)[url]= ", turns it into just "title" and makes it bold and clickable using =C2=B4= ANSI=C2=B4 and =C2=B4OSC 8=C2=B4 escapes, adds it to $FILE and prints, wi= th =C2=B4echo=C2=B4 (then just add =C2=B4 | most=C2=B4 in front of it).Apparently what is treated only with ANSI works well (other md elements),= but the OSC' links do not. Does =C2=B4most=C2=B4 support this? If yes, h= ow to enable it?
-- =
Reply to this email directly or view it on GitHub: https://github.com/jedsoft/most/issues/26 You are receiving this because you are subscribed to this thread.
Message ID: @.***>=