| yml_pagedown_opts {ymlthis} | R Documentation |
Top-level YAML options for pagedown
Description
pagedown offers several output functions for paginated output, resumes,
business cards, theses, and morem as described in the pagedown vignette. pagedown also accepts a few custom
top-level YAML. See pagedown_business_card_template() for more on setting
up the YAML for a business card.
Usage
yml_pagedown_opts(
.yml,
toc = yml_blank(),
toc_title = yml_blank(),
lot = yml_blank(),
lot_title = yml_blank(),
chapter_name = yml_blank(),
links_to_footnotes = yml_blank(),
paged_footnotes = yml_blank()
)
Arguments
.yml |
a |
toc |
Logical. Use a table of contents? |
toc_title |
The title for the table of contents. Note that the actual
YAML field is |
lot |
Logical. Use a list of figures? |
lot_title |
The title for the list of figures. Note that the actual YAML
field is |
chapter_name |
The chapter title prefix |
links_to_footnotes |
Logical. Transform all the URLs to footnotes? Note
that the actual YAML field is |
paged_footnotes |
Logical. Render notes as footnotes? Note that the
actual YAML field is |
Value
a yml object
See Also
Other yml:
asis_yaml_output(),
bib2yml(),
draw_yml_tree(),
has_field(),
read_json(),
use_yml_defaults(),
use_yml_file(),
use_yml(),
yml_author(),
yml_blogdown_opts(),
yml_bookdown_opts(),
yml_citations(),
yml_clean(),
yml_distill_opts(),
yml_latex_opts(),
yml_output(),
yml_params(),
yml_pkgdown(),
yml_reference(),
yml_replace(),
yml_resource_files(),
yml_rsconnect_email(),
yml_rticles_opts(),
yml_runtime(),
yml_site_opts(),
yml_toc(),
yml_vignette()
Other pagedown:
pagedown_business_card_template()
Examples
yml() %>%
yml_pagedown_opts(
toc = TRUE,
toc_title = "TOC",
chapter_name = c("CHAPTER\\ ", "."),
links_to_footnotes = TRUE
)