Include figures with title and notes using a data base
include_figure(figure, caption = NA, notes = NA, label = NA)
| figure | Path or URL of the figure. |
|---|---|
| caption | Figure caption (default = NA). |
| notes | Figure notes (default = NA). |
| label | Label for the notes (default = NA). |
Figure with caption and notes
library(inti) figure <- "https://inkaverse.com/reference/figures/logo.png" figure %>% include_figure(caption = "Title test." , notes = "Note test.")#> $caption #> [1] "Title test. Note test." #> #> $path #> [1] "https://inkaverse.com/reference/figures/logo.png" #> #> $figure #> [1] "https://inkaverse.com/reference/figures/logo.png" #> attr(,"class") #> [1] "knit_image_paths" "knit_asis" #>