From 487aa0bed7313d7597b6edd5810e53cab0061198 Mon Sep 17 00:00:00 2001 From: olivroy <52606734+olivroy@users.noreply.github.com> Date: Fri, 10 May 2024 10:27:21 -0400 Subject: [PATCH] Add example of using style in tagList() (#433) * Add example of using style in tagList() * Update R/tags.R Co-authored-by: Garrick Aden-Buie * Update tagList.Rd --------- Co-authored-by: Garrick Aden-Buie --- R/tags.R | 2 +- man/tagList.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/tags.R b/R/tags.R index 2eea80f5..8848b393 100644 --- a/R/tags.R +++ b/R/tags.R @@ -268,7 +268,7 @@ normalizeText <- function(text) { #' @examples #' tagList( #' h1("Title"), -#' h2("Header text"), +#' h2("Header text", style = "color: red;"), #' p("Text here") #' ) tagList <- function(...) { diff --git a/man/tagList.Rd b/man/tagList.Rd index 71e4ed69..343c5f59 100644 --- a/man/tagList.Rd +++ b/man/tagList.Rd @@ -16,7 +16,7 @@ etc. \examples{ tagList( h1("Title"), - h2("Header text"), + h2("Header text", style = "color: red;"), p("Text here") ) }