gitbook_ja: bookdown::gitbook wrapper for Japanese

Description Usage Arguments

View source: R/html_book_ja.R

Description

bookdown::gitbook wrapper for Japanese

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
gitbook_ja(
  fig_caption = TRUE,
  fig_align = "center",
  fig_width = 7,
  fig_height = 5,
  fig_retina = 2,
  table_css = TRUE,
  toc_depth = 3,
  number_sections = TRUE,
  section_divs = TRUE,
  split_by = c("chapter", "chapter+number", "section", "section+number", "rmd", "none"),
  self_contained = FALSE,
  split_bib = TRUE,
  code_folding = c("none", "show", "hide"),
  code_download = FALSE,
  code_rownumber = TRUE,
  highlight = "default",
  dev = "png",
  dev.args = list(res = 200),
  df_print = "default",
  mathjax = "default",
  template = "default",
  config = list(),
  extra_dependencies = NULL,
  css = NULL,
  includes = NULL,
  keep_md = FALSE,
  lib_dir = "libs",
  md_extensions = NULL,
  pandoc_args = NULL,
  ...
)

Arguments

fig_caption

... Arguments to be passed to rmarkdown::html_document() (... not including toc, and theme).

table_css

TRUE to load gitbook's default CSS for tables. Choose FALSE to unload and use customized CSS (for exmaple, bootstrap) via the css option. Default is TRUE.

number_sections

... Arguments to be passed to rmarkdown::html_document() (... not including toc, and theme).

split_by

character. デフォルト: 'chapter'. 'chapter', 'chapter+number', 'section', 'section+number', 'rmd', 'none' から選ぶ. ページを区切る単位.

self_contained

... Arguments to be passed to rmarkdown::html_document() (... not including toc, and theme).

split_bib

Whether to split the bibliography onto separate pages where the citations are actually used.

template

Pandoc template to use for rendering. Pass "default" to use the bookdown default template; pass a path to use a custom template. The default template should be sufficient for most use cases. In case you want to develop a custom template, we highly recommend to start from the default template: https://github.com/rstudio/bookdown/blob/master/inst/templates/gitbook.html.

config

A list of configuration options for the gitbook style, such as the font/theme settings.

lib_dir

... Arguments to be passed to rmarkdown::html_document() (... not including toc, and theme).

pandoc_args

... Arguments to be passed to rmarkdown::html_document() (... not including toc, and theme).

...

Other arguments to be passed to base_format. For html_book() and tufte_html_book(), ... is passed to html_chapters().

config:

list. デフォルト: 実際に出力して確認したほうが早い. 詳しくは bookdown のマニュアル.

dev:

character. デフォルト: png しかし将来 ragg_png にするかもしれない.

code_rownumber:

logical. デフォルト: TRUE. 行番号を表示するかどうか


Gedevan-Aleksizde/rmdja documentation built on Sept. 28, 2021, 2:49 a.m.