Knitting markdown as blastula email

Hi all,

I've set up an rmarkdown document to knit as a blastula message. I have included 2 columns in the rmd file as per the example below:

  title: "Untitled"
  date: "19/11/2021"
  output: blastula::blastula_email
  ```{r setup, include=FALSE}
  knitr::opts_chunk$set(echo = TRUE)
  :::: {style="display: grid; grid-template-columns: 100px 100px; grid-column-gap: 10px;"}
  ::: {}
  This is my first column
  ::: {}
  This is my second column

When I knit this in rstudio the column formatting behaves as expected. The 2 lines of text appear side-by-side in two narrow columns.

If I use this rmd as a template to generate an email the column formatting disappears. My two lines of text appear as rows one-on-top-of-the-other instead of as columns. Here's my code for generating the email:

    thisEmail <- render_email(input = "./Template/Test.Rmd") 
      email = thisEmail,
      from = c("Test" = ""),
      to = c(""),
      subject = "Test",
      credentials = creds_key("key"),                                 
      verbose = F

I assume that blastula doesn't support the column formatting as I have specified it in my rmd file. Does anyone have an alternative way of implementing this rmd layout that will render as a blastula email?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.