Terminal Hyperlinks
style_hyperlink(text, url) ansi_has_hyperlink_support()
text | Text to show. |
---|---|
url | URL to link to. |
Styled ansi_string
for style_hyperlink()
.
Logical scalar for ansi_has_hyperlink_support()
.
ansi_hyperlink()
creates an ANSI hyperlink.
ansi_has_hyperlink_support()
checks if the current stdout()
supports hyperlinks.
See also https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda.
#> This is an R link.ansi_has_hyperlink_support()#> [1] FALSE