rmd <- knitr::knit_expand(glue::glue("{params$location_code}_child_{params$tag}.Rmd"), location_code = params$location_code, x_tag = params$tag) rendered <- knitr::knit(text = rmd, quiet = TRUE, envir = new.env()) cat(rendered, sep = "\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.