| * xaringanthemer no longer sets the `fig.showtext` chunk option when the | * xaringanthemer no longer sets the `fig.showtext` chunk option when the | ||||
| showtext package isn't installed (#56). | showtext package isn't installed (#56). | ||||
| * The style functions gain a `link_decoration` argument to set the | |||||
| [`text-decoration`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| property for links (#57). | |||||
| # xaringanthemes 0.3.4 | # xaringanthemes 0.3.4 | ||||
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_duo | #' @template style_duo | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_duo_accent | #' @template style_duo_accent | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_duo_accent_inverse | #' @template style_duo_accent_inverse | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_mono_accent | #' @template style_mono_accent | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_mono_accent_inverse | #' @template style_mono_accent_inverse | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_mono_dark | #' @template style_mono_dark | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_mono_light | #' @template style_mono_light | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_solarized_dark | #' @template style_solarized_dark | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_solarized_light | #' @template style_solarized_light | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| #' @param code_font_family_fallback Code Font Fallback. Defaults to | #' @param code_font_family_fallback Code Font Fallback. Defaults to | ||||
| #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | #' `xaringanthemer_font_default("code_font_family_fallback")`. Modifies the | ||||
| #' `.remark-code, .remark-inline-code` classes. | #' `.remark-code, .remark-inline-code` classes. | ||||
| #' @param link_decoration Text decoration of links. Defaults to none. Modifies | |||||
| #' the `a, a > code` elements. Accepts CSS | |||||
| #' [text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | |||||
| #' property values. | |||||
| #' @template theme_params | #' @template theme_params | ||||
| #' @template style-usage | #' @template style-usage | ||||
| #' @template style_xaringan | #' @template style_xaringan | ||||
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, |
| , "code_font_size", "0.9rem", ".remark-inline", "Code Text Font Size", "--code-font-size" | , "code_font_size", "0.9rem", ".remark-inline", "Code Text Font Size", "--code-font-size" | ||||
| , "code_font_url", '{xaringanthemer_font_default("code_font_url")}', "@import url", "Code Font URL", NA_character_ | , "code_font_url", '{xaringanthemer_font_default("code_font_url")}', "@import url", "Code Font URL", NA_character_ | ||||
| , "code_font_family_fallback", '{xaringanthemer_font_default("code_font_family_fallback")}', ".remark-code, .remark-inline-code", "Code Font Fallback", NA_character_ | , "code_font_family_fallback", '{xaringanthemer_font_default("code_font_family_fallback")}', ".remark-code, .remark-inline-code", "Code Font Fallback", NA_character_ | ||||
| , "link_decoration", "none", "a, a > code", "Text decoration of links", NA_character_ | |||||
| ) | ) | ||||
| set_default <- function(tv, ..., set_var = "default") { | set_default <- function(tv, ..., set_var = "default") { | ||||
| text_slide_number_font_size = mdn_font_size, | text_slide_number_font_size = mdn_font_size, | ||||
| text_font_weight = mdn_font_weight, | text_font_weight = mdn_font_weight, | ||||
| header_font_weight = mdn_font_weight, | header_font_weight = mdn_font_weight, | ||||
| code_font_size = mdn_font_size | |||||
| code_font_size = mdn_font_size, | |||||
| link_decoration = "[text-decoration](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration)" | |||||
| ) | ) | ||||
| template_mono_light <- tibble::tribble( | template_mono_light <- tibble::tribble( |
| } | } | ||||
| a, a > code { | a, a > code { | ||||
| color: var(--link-color); | color: var(--link-color); | ||||
| text-decoration: none; | |||||
| text-decoration: {{link_decoration}}; | |||||
| } | } | ||||
| .footnote { | .footnote { | ||||
| position: absolute;{{#footnote_color}} | position: absolute;{{#footnote_color}} |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |
| code_font_size = "0.9rem", | code_font_size = "0.9rem", | ||||
| code_font_url = xaringanthemer_font_default("code_font_url"), | code_font_url = xaringanthemer_font_default("code_font_url"), | ||||
| code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | code_font_family_fallback = xaringanthemer_font_default("code_font_family_fallback"), | ||||
| link_decoration = "none", | |||||
| colors = NULL, | colors = NULL, | ||||
| extra_css = NULL, | extra_css = NULL, | ||||
| extra_fonts = NULL, | extra_fonts = NULL, | ||||
| \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | \code{xaringanthemer_font_default("code_font_family_fallback")}. Modifies the | ||||
| \verb{.remark-code, .remark-inline-code} classes.} | \verb{.remark-code, .remark-inline-code} classes.} | ||||
| \item{link_decoration}{Text decoration of links. Defaults to none. Modifies | |||||
| the \verb{a, a > code} elements. Accepts CSS | |||||
| \href{https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration}{text-decoration} | |||||
| property values.} | |||||
| \item{colors}{A named vector of custom colors. The names of the colors | \item{colors}{A named vector of custom colors. The names of the colors | ||||
| become CSS variables and classes that can be used within your slides. | become CSS variables and classes that can be used within your slides. | ||||
| For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable | For example, \code{colors = c(blue = "#bad4ed")} adds a CSS variable |