require(glue)
mpOut <- function(type = 'file',control){
fio <- list()
fileRead <- function(data, ...){
inp <- readLines(control$folder)%>%
glue_collapse(sep = '\n')
inp
}
fio[['input']] <- fileRead
fio
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.