consult_report_document: Consult report document Format for converting from R Markdown...

View source: R/rmarkdown.R

consult_report_documentR Documentation

Consult report document Format for converting from R Markdown to a consult report document.

Description

Consult report document Format for converting from R Markdown to a consult report document.

Usage

consult_report_document(
  toc = TRUE,
  toc_float = TRUE,
  toc_depth = 3,
  css,
  includes,
  pandoc_args,
  ...
)

Arguments

toc

TRUE to include a table of contents in the output

toc_float

TRUE to float the table of contents to the left of the main document content. Rather than TRUE you may also pass a list of options that control the behavior of the floating table of contents. See the Floating Table of Contents section below for details.

toc_depth

Depth of headers to include in table of contents

css

CSS and/or Sass files to include. Files with an extension of .sass or .scss are compiled to CSS via sass::sass(). Also, if theme is a bslib::bs_theme() object, Sass code may reference the relevant Bootstrap Sass variables, functions, mixins, etc.

includes

Named list of additional content to include within the document (typically created using the includes function).

pandoc_args

Additional command line options to pass to pandoc

...

additional arguments passed to html_document

Details

Requires Pandoc version 2.10 or higher for use of –no-check-certificate option.

Value

R Markdown output format to pass to render

See Also

https://pandoc.org/installing.html


the-mad-statter/washu documentation built on May 11, 2023, 7:24 p.m.