diff --git a/vignettes/tutorial.qmd b/vignettes/tutorial.qmd index 6e2c61fa..f0d4cda3 100644 --- a/vignettes/tutorial.qmd +++ b/vignettes/tutorial.qmd @@ -669,6 +669,18 @@ tt(x, theme = "void") |> ``` +```{r} +dat <- data.frame(1:2, 3:4, 5:6, 7:8) +colnames(dat) <- NULL + +tt(dat, theme = "void") |> + style_tt( + line = "tblr", line_color = "white", line_width = 0.5, + background = "blue", color = "white") +``` + + + # Plots and images The `plot_tt()` function can embed images and plots in a `tinytable`. We can insert images by specifying their paths and positions (`i`/`j`).