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") ) }