View source: R/prettify_Shiny.R
reindent_Shiny | R Documentation |
Reindent some code using a Shiny app.
reindent_Shiny(contents = NA, language = NA, tabSize = NULL, themeInfo = NULL)
contents |
the code to be reindented; there are three possibilities for
this argument:
|
language |
the language of the code, such as |
tabSize |
number of spaces of the indentation (usually |
themeInfo |
this argument is not important, it controls the theme of
the Shiny app;
it must be |
The reindented code in a character string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.