% Generated by roxygen2: do not edit by hand % Please edit documentation in R/html_document_base.R \name{html_document_base} \alias{html_document_base} \title{Base output format for HTML-based output formats} \usage{ html_document_base( theme = NULL, self_contained = TRUE, lib_dir = NULL, math_method = "default", mathjax = "default", pandoc_args = NULL, template = "default", dependency_resolver = NULL, copy_resources = FALSE, extra_dependencies = NULL, css = NULL, bootstrap_compatible = FALSE, ... ) } \arguments{ \item{theme}{One of the following: \itemize{ \item A \code{\link[bslib:bs_theme]{bslib::bs_theme()}} object (or a list of \code{\link[bslib:bs_theme]{bslib::bs_theme()}} argument values) \itemize{ \item Use this option for custom themes using Bootstrap 4 or 3. \item In this case, any \code{.scss}/\code{.sass} files provided to the \code{css} parameter may utilize the \code{theme}'s underlying Sass utilities (e.g., variables, mixins, etc). } \item \code{NULL} for no theme (i.e., no \code{\link[=html_dependency_bootstrap]{html_dependency_bootstrap()}}). \item A character string specifying a \href{https://bootswatch.com/3/}{Bootswatch 3} theme name (for backwards-compatibility). }} \item{self_contained}{Produce a standalone HTML file with no external dependencies, using data: URIs to incorporate the contents of linked scripts, stylesheets, images, and videos. Note that even for self contained documents MathJax is still loaded externally (this is necessary because of its size).} \item{lib_dir}{Directory to copy dependent HTML libraries (e.g. jquery, bootstrap, etc.) into. By default this will be the name of the document with \verb{_files} appended to it.} \item{math_method}{Math rendering engine to use. This will define the math method to use with Pandoc. \itemize{ \item It can be a string for the engine, one of "mathjax", "mathml", "webtex", "katex", "gladtex", or "r-katex" or "default" for \code{mathjax}. \item It can be a list of \itemize{ \item \code{engine}: one of "mathjax", "mathml", "webtex", "katex", or "gladtex". \item \code{url}: A specific url to use with \code{mathjax}, \code{katex} or \code{webtex}. Note that for \code{engine = "mathjax"}, \code{url = "local"} will use a local version of MathJax (which is copied into the output directory). } } For example, \if{html}{\out{