embed_rmd: Embeding Rmd on body with images.

View source: R/embed_rmd.R

embed_rmdR Documentation

Embeding Rmd on body with images.

Description

Embeding Rmd on body with images.

Usage

embed_rmd(sg_mail, input, ...)

Arguments

sg_mail

(required) mail object from package

input

(required) input file path to render for email.

...

extra params pass to emayili::render() function.

Examples


path <- system.file("extdata", "test.Rmd", package = "sendgridr")
mail() %>%
 embed_rmd(path)


sendgridr documentation built on Nov. 10, 2022, 5:15 p.m.