| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/html_dependencies.R |
| 3 |
\name{html-dependencies} |
| 4 |
\alias{html-dependencies} |
| 5 |
\alias{html_dependency_jquery} |
| 6 |
\alias{html_dependency_jqueryui} |
| 7 |
\alias{html_dependency_bootstrap} |
| 8 |
\alias{html_dependency_tocify} |
| 9 |
\alias{html_dependency_font_awesome} |
| 10 |
\alias{html_dependency_ionicons} |
| 11 |
\alias{html_dependency_pagedtable} |
| 12 |
\alias{html_dependency_highlightjs} |
| 13 |
\alias{html_dependency_tabset} |
| 14 |
\alias{html_dependency_codefolding_lua} |
| 15 |
\title{Provide common HTML dependencies for R Markdown formats} |
| 16 |
\usage{ |
| 17 |
html_dependency_jquery() |
| 18 |
|
| 19 |
html_dependency_jqueryui() |
| 20 |
|
| 21 |
html_dependency_bootstrap(theme) |
| 22 |
|
| 23 |
html_dependency_tocify() |
| 24 |
|
| 25 |
html_dependency_font_awesome() |
| 26 |
|
| 27 |
html_dependency_ionicons() |
| 28 |
|
| 29 |
html_dependency_pagedtable() |
| 30 |
|
| 31 |
html_dependency_highlightjs(highlight) |
| 32 |
|
| 33 |
html_dependency_tabset() |
| 34 |
|
| 35 |
html_dependency_codefolding_lua() |
| 36 |
} |
| 37 |
\arguments{ |
| 38 |
\item{theme}{One of the following: |
| 39 |
\itemize{ |
| 40 |
\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) |
| 41 |
\itemize{ |
| 42 |
\item Use this option for custom themes using Bootstrap 4 or 3. |
| 43 |
\item In this case, any \code{.scss}/\code{.sass} files provided to the \code{css} |
| 44 |
parameter may utilize the \code{theme}'s underlying Sass utilities |
| 45 |
(e.g., variables, mixins, etc). |
| 46 |
} |
| 47 |
\item \code{NULL} for no theme (i.e., no \code{\link[=html_dependency_bootstrap]{html_dependency_bootstrap()}}). |
| 48 |
\item A character string specifying a \href{https://bootswatch.com/3/}{Bootswatch 3} |
| 49 |
theme name (for backwards-compatibility). |
| 50 |
}} |
| 51 |
|
| 52 |
\item{highlight}{Highlighter to use} |
| 53 |
} |
| 54 |
\description{ |
| 55 |
These functions provide common HTML dependencies (e.g. jquery, bootstrap) |
| 56 |
for re-use by other R Markdown formats. |
| 57 |
} |