You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
params then could be useful to control what kind of action is triggered by the link (open system browser, open help page, open something in viewer, navigate to file in the editor, ...).
Activity
[-]`style_hyperlink()` and params[/-][+]`style_hyperlink(params=)`[/+]gaborcsardi commentedon Jan 5, 2022
Yes, definitely. Feel free to add it if you need it quickly, IDK when I'll work on cli again, soonish, but not this week, probably.
gaborcsardi commentedon Jan 5, 2022
Btw. the
cli::ansi_*()functions do not handle the hyperlink tags very well, or at all, so if we start using them, then that needs fixing as well.style_hyperlink(params=)
romainfrancois commentedon Jan 6, 2022
Thanks. I added a pull request, nothing urgent as rstudio/rstudio#10299 will probably need some time to mature.
also wondering if
{.urlincli_text()etc ... should make links withstyle_hyperlink()gaborcsardi commentedon Jan 6, 2022
Good idea: #386.