tutorial_html: Convert to a tutorial HTML document

Description Usage Arguments Details Value

View source: R/tutorial_html.R

Description

Format for converting from R Markdown to a tutorial HTML document.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
tutorial_html(
  solution = FALSE,
  suffix = "_question",
  includes = NULL,
  css = NULL,
  extra_dependencies = NULL,
  ...
)

tutorial_html_solution(suffix = "_solution", ...)

Arguments

solution

Turn ON or OFF the rendering of solution chunks (default is FALSE)

suffix

Suffix which is added to the filename (default is '_question' for 'unilur::tutorial_html' and '_solution' for 'unilur::tutorial_html_solution')

includes

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

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.

extra_dependencies

Additional function arguments to pass to the base R Markdown HTML output formatter html_document_base

...

Additional function arguments to pass to the base R Markdown HTML output formatter html_document_base

Details

See the inherited 'rmarkdown::html_document' help page for additional arguments.

Value

R Markdown output format to pass to render


koncina/unilur documentation built on Sept. 24, 2021, 12:24 a.m.