Description Usage Arguments Value Examples
Add a CSS file to your documentation
1 |
name |
Name to give to the CSS file you want to create. If |
open |
Open or not the file created. Default is TRUE. |
Creates a CSS file in "docs/_assets/css"
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
library(docsifier)
# Create a test folder and a test package for the example
test_folder <- tempdir()
setwd(test_folder)
devtools::create("dummy")
setwd("dummy")
# Generate the minimal documentation for docsify.js
init_docsify()
# Create "custom.css" in "/docs/_assets/css"
add_css()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.