# Create a simple email message using
# Markdown-formatted text in the `body`
# and `footer` sections with the `md()`
# text helper function
email <-
compose_email(
body = md(
"
## Hello!
This is an email message that was generated by the blastula package.
We can use **Markdown** formatting with the `md()` function.
Cheers,
The blastula team
"),
footer = md(
"
sent via the [blastula](https://rstudio.github.io/blastula) R package
")
)
# The email message can always be
# previewed by calling the object
if (interactive()) email
Run the code above in your browser using DataLab