From 1b786ca9f2b08158de09e5132bc66ca21d992936 Mon Sep 17 00:00:00 2001 From: olivroy <52606734+olivroy@users.noreply.github.com> Date: Fri, 10 May 2024 09:42:41 -0400 Subject: [PATCH 1/3] Add example of using style in tagList() --- R/tags.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/tags.R b/R/tags.R index 2eea80f5..9dc99640 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 = "text-align: center;"), #' p("Text here") #' ) tagList <- function(...) { From 5f52ebd6b06d35eb4e94039151c0f8ca1ef3cecd Mon Sep 17 00:00:00 2001 From: olivroy <52606734+olivroy@users.noreply.github.com> Date: Fri, 10 May 2024 10:10:40 -0400 Subject: [PATCH 2/3] Update R/tags.R Co-authored-by: Garrick Aden-Buie --- R/tags.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/tags.R b/R/tags.R index 9dc99640..8848b393 100644 --- a/R/tags.R +++ b/R/tags.R @@ -268,7 +268,7 @@ normalizeText <- function(text) { #' @examples #' tagList( #' h1("Title"), -#' h2("Header text", style = "text-align: center;"), +#' h2("Header text", style = "color: red;"), #' p("Text here") #' ) tagList <- function(...) { From dbe85f3ee830ad3561bb892ebb23aedd14012f5c Mon Sep 17 00:00:00 2001 From: olivroy <52606734+olivroy@users.noreply.github.com> Date: Fri, 10 May 2024 10:12:06 -0400 Subject: [PATCH 3/3] Update tagList.Rd --- man/tagList.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") ) }