How do I use gt_hyperlink
from {gtExtras}
to add a link to a cell in a gt table?
In this example, the words, "This is CNN"
, would link to cnn.com
library("tidyverse")
library("gt")
library("gtExtras")
df <- tibble(
name = "This is CNN"
)
df |> gt() |>
gt_hyperlink("This is CNN", "www.cnn.com")