The goal of UtilsQuartoRSV is to provide utility functions to assist
Quarto
document creation when using R
.
You can install the development version of UtilsQuartoRSV like so:
devtools::install_github("SATVILab/UtilsQuartoRSV")
library(UtilsQuartoRSV)
## basic example code
quartorsv_cat_pandoc_fig(
path = "path/to/fig.png",
cap = "Incredible hist() plot",
label = "hist-plot",
args = "width=50%",
force_exists = FALSE
)
#> ![Incredible hist() plot](path/to/fig.png){#fig-hist-plot width=50%}