Skip to content

🧝🏻‍♂️ Hyperlinks 🔗

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

tadascience/link

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")
```