Skip to content
/ link Public

❗ This is a read-only mirror of the CRAN R package repository. link — Hyperlink Automatic Detection. Homepage: https://link.tada.science/https://github.com/tadascience/link Report bugs for this package: https://github.com/tadascience/link/issues

License

Notifications You must be signed in to change notification settings

cran/link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

link

Lifecycle: experimental CRAN status R-CMD-check

The goal of link is to help blog authors include links to their prose.

Installation

You can install the development version of link like so:

pak::pak("tadascience/link")

Example

Include this in your Rmd or qmd document to turn <pkg>::<fun>() and {<pkg>} into hyperlinks.

```{r, echo = FALSE}
link::auto()
```

You can drop the { and the pkg:: if you like:

```{r, echo = FALSE}
link::auto(keep_braces = FALSE, keep_pkg_prefix = FALSE)
```

By default, bslib powered tooltips are added. You can opt-out with type = "plain".

```{r, echo = FALSE}
link::auto(type = "plain")
```

About

❗ This is a read-only mirror of the CRAN R package repository. link — Hyperlink Automatic Detection. Homepage: https://link.tada.science/https://github.com/tadascience/link Report bugs for this package: https://github.com/tadascience/link/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages