This package provides some RStudio addins:
Prettify addins and
Indent addins. To run an addin, select it from the Addins menu
within RStudio. The
Indent addins only reindent the code, while
Prettify addins also modify the code, e.g. they add trailing
# get the list of supported languages: getPrettifiableLanguages()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.