View source: R/sandpaper_site.R
sandpaper_site | R Documentation |
This is a custom site generator for compatibility with
rmarkdown::site_generator()
. For RStudio users, placing this in
the index.md
yaml header will make the knit button work:
sandpaper_site(input = ".", ...)
site: sandpaper::sandpaper_site
This will be automatically added to the index.md
for all sandpaper sites
from version 0.0.0.9013, so maintainers should not need to worry about this.
Thanks goes to Yihui Xie for coming up with the concept of modular site generators and for JJ Alaire for allowing sub-directory structures for RMarkdown sites.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.