This first calls system command gitbook init
but then will change
the all the file extensions from .md
to .Rmd
excluding
SUMMARY.md
and README.md
.
1 | initGitbook(dir = getwd())
|
dir |
source directory for the Gitbook. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.