DOCC<-function(text,style){
doc.path<-system.file("data", "nd.docx",
package = "leplant")
doc<-read_docx(doc.path)
i <- 1
totalcol <- length(text)
for(i in c(i:totalcol)){
cs<-body_add_par(doc, text[i], style = style[i])
}
cs
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.