Description Usage Arguments Details Value Examples
View source: R/ansi-hyperlink.R
Terminal Hyperlinks
1 2 3 |
text |
Text to show. |
url |
URL to link to. |
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.
Styled ansi_string
for style_hyperlink()
.
Logical scalar for ansi_has_hyperlink_support()
.
1 2 | cat("This is an", style_hyperlink("R", "https://r-project.org"), "link.\n")
ansi_has_hyperlink_support()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.