Install from GitHub:
devtools::install_github("hmalmedal/stringaddins")
Open a file in RStudio. Select text and execute one of the add-ins.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.