gitbook | R Documentation |
This output format function ported a style provided by GitBook (https://www.gitbook.com) for R Markdown. To read more about this format, see: https://bookdown.org/yihui/bookdown/html.html#gitbook-style
gitbook(
fig_caption = TRUE,
number_sections = TRUE,
self_contained = FALSE,
anchor_sections = TRUE,
lib_dir = "libs",
global_numbering = !number_sections,
pandoc_args = NULL,
extra_dependencies = list(),
...,
template = "default",
split_by = c("chapter", "chapter+number", "section", "section+number", "rmd", "none"),
split_bib = TRUE,
config = list(),
table_css = TRUE,
code_folding = c("none", "show", "hide")
)
fig_caption , number_sections , self_contained , anchor_sections , lib_dir , pandoc_args , code_folding , extra_dependencies , ... |
Arguments to be passed to |
global_numbering |
If |
template |
Pandoc template to use for rendering. Pass |
split_by |
How to name the HTML output files from the book: |
split_bib |
Whether to split the bibliography onto separate pages where the citations are actually used. |
config |
A list of configuration options for the gitbook style, such as the font/theme settings. |
table_css |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.