create_book | R Documentation |
Create a bookdown project with multiple book output formats, including HTML. Choose one of two HTML book output formats:
create_gitbook(path)
create_bs4_book(path)
path |
Absolute path to an empty directory in which to create the bookdown project. In the RStudio IDE, if rstudioapi package available, an RStudio project will be created. |
Use create_gitbook()
to use bookdown::gitbook()
output format
Use create_bs4_book()
to use a bookdown::bs4_book()
output format
The function will create a folder with file structure for a bookdown project, and example files with information on how to start.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.