library(Rfiglet)
x <- "asdf
asdf
asdf"
# Linebreaks become spaces
figlet(x)
# Linebreaks remain linebreaks
figlet(x, respect.linebreaks=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.