Trying out blastula

| May 22, 2022

# vignette: https://github.com/rstudio/blastula
# Get a nicely formatted date/time string
current_date_time <- add_readable_time()

image_string <- blastula::add_image("20220402_160706.jpg")
newsletter <- blastula::compose_email(
  body = md(
    glue::glue(
      "Good Afternoon,
      
      This is a very early draft of a newsletter format that has been created with the R programming language using the `blastula` package.
      
      For now, here is a picture from my garden:
      {image_string}
      "
    )),
  footer = md(
    glue::glue(
      "Newsletter compiled on {current_date_time}"
    )
  )
)
#print(newsletter)