Skip to content

Commit

Permalink
Add example of using style in tagList() (#433)
Browse files Browse the repository at this point in the history
* Add example of using style in tagList()

* Update R/tags.R

Co-authored-by: Garrick Aden-Buie <[email protected]>

* Update tagList.Rd

---------

Co-authored-by: Garrick Aden-Buie <[email protected]>
  • Loading branch information
olivroy and gadenbuie authored May 10, 2024
1 parent 038ef7b commit 487aa0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/tags.R
Original file line number Diff line number Diff line change
Expand Up @@ -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(...) {
Expand Down
2 changes: 1 addition & 1 deletion man/tagList.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 487aa0b

Please sign in to comment.