set.theme | R Documentation |
Set options for the styling of the Rmarkdown theme to use on the page
set.theme( theme = c("default", "wide"), color = NULL, header.sticky = TRUE, header.image = NULL, header.color = NULL, list.group.icon = c("circle", "square", "star", "arrow", "quote", "heart"), font.family = NULL, font.color = NULL )
theme |
theme to use for the page |
color |
primary color for the theme |
header.sticky |
make header sticky, TRUE or FALSE |
header.image |
include image such as logo in the header |
header.color |
color for the title of the page |
list.group.icon |
set a list group icon |
font.family |
set the font family |
font.color |
set the global text color |
styles for themeing the page
More examples and demo pages for are located at this link - https://github.com/oobianom/sciRmdTheme.
set.theme("wide") set.theme( theme = "default", color = "purple", header.sticky=TRUE, header.image="logo.png", list.group.icon = "arrow", font.family = "Arial", font.color = "#333333", header.color = "darkblue" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.