View source: R/google_slides.R
gs_png_url | R Documentation |
Get Google Slide PNG URL
gs_png_url(url)
get_slide_page(url)
gs_png_download(url, output_dir = ".", overwrite = TRUE)
include_slide(
url,
output_dir = knitr::opts_chunk$get("fig.path"),
overwrite = TRUE,
...
)
url |
URL to Google Slide |
output_dir |
path to output png |
overwrite |
should the slide PNG be overwritten? |
... |
for |
A character vector of URLs
url <- paste0(
"https://docs.google.com/presentation/d/",
"12DPZgPteQBwgal6kSPP58zhPhjZ7QSPZLe3NkA8M3eo/edit",
"#slide=id.gc8648f14c3_0_397&t=4"
)
id <- get_slide_id(url)
gs_png_url(url)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.