Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.31 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.31 KB

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