embed_rmd | R Documentation |
Embeding Rmd on body with images.
embed_rmd(sg_mail, input, ...)
sg_mail |
(required) mail object from package |
input |
(required) input file path to render for email. |
... |
extra params pass to emayili::render() function. |
path <- system.file("extdata", "test.Rmd", package = "sendgridr") mail() %>% embed_rmd(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.