I am working on a Shiny app that collects some user inputs, performs some data processing and finally sends an email to the user with the required output.
While creating the table that I need to send to the user, there is one cell within the table where I need to include line breaks.
You can refer to the image below for the desired output:
I have tried using the R code below:
a <- data.frame("SrNo" = 1, "Description" = "Name: John \n Age: 45")
I have also tried other variations of line breaks such as \n (with 2 \), \r\n.
However, I only get the following output with a space rather than a line break.
I have also tried implementing the solution provided at the following link - although without much success.
line break within cell for huxtable table
Would be great if you can help me place the line break within the Description column of the data frame.

