Description Usage Details Examples
This funcions checks if the current theme is dark. If this is the case, it changes to the light variant. Likewise, the theme is changed to the dark one if it wasn't previously.
1 |
You need the environment variables RSTUDIO_LIGHT_THEME and RSTUDIO_DARK_THEME in your .Renviron file. Run 'usethis::edit_r_environ()' to edit it.
1 | # Use the addins browser or activate via the addins menue to switch between themes.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.