forked from rstudio/shiny
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These functions were temporarily ripped out of Shiny and moved to the htmltools package. We've discovered that it's safe to keep including them in shiny; as long as the functions in shiny and the functions in htmltools are identical, the user won't receive a conflict warning.
- Loading branch information
Showing
119 changed files
with
601 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ | |
^man-roxygen$ | ||
^\.travis\.yml$ | ||
^staticdocs$ | ||
^tools$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
#' @export | ||
a <- htmltools::a | ||
|
||
#' @export | ||
br <- htmltools::br | ||
|
||
#' @export | ||
code <- htmltools::code | ||
|
||
#' @export | ||
div <- htmltools::div | ||
|
||
#' @export | ||
em <- htmltools::em | ||
|
||
#' @export | ||
h1 <- htmltools::h1 | ||
|
||
#' @export | ||
h2 <- htmltools::h2 | ||
|
||
#' @export | ||
h3 <- htmltools::h3 | ||
|
||
#' @export | ||
h4 <- htmltools::h4 | ||
|
||
#' @export | ||
h5 <- htmltools::h5 | ||
|
||
#' @export | ||
h6 <- htmltools::h6 | ||
|
||
#' @export | ||
hr <- htmltools::hr | ||
|
||
#' @export | ||
HTML <- htmltools::HTML | ||
|
||
#' @export | ||
img <- htmltools::img | ||
|
||
#' @export | ||
includeCSS <- htmltools::includeCSS | ||
|
||
#' @export | ||
includeHTML <- htmltools::includeHTML | ||
|
||
#' @export | ||
includeMarkdown <- htmltools::includeMarkdown | ||
|
||
#' @export | ||
includeScript <- htmltools::includeScript | ||
|
||
#' @export | ||
includeText <- htmltools::includeText | ||
|
||
#' @export | ||
is.singleton <- htmltools::is.singleton | ||
|
||
#' @export | ||
p <- htmltools::p | ||
|
||
#' @export | ||
pre <- htmltools::pre | ||
|
||
#' @export | ||
singleton <- htmltools::singleton | ||
|
||
#' @export | ||
span <- htmltools::span | ||
|
||
#' @export | ||
strong <- htmltools::strong | ||
|
||
#' @export | ||
tag <- htmltools::tag | ||
|
||
#' @export | ||
tagAppendAttributes <- htmltools::tagAppendAttributes | ||
|
||
#' @export | ||
tagAppendChild <- htmltools::tagAppendChild | ||
|
||
#' @export | ||
tagAppendChildren <- htmltools::tagAppendChildren | ||
|
||
#' @export | ||
tagList <- htmltools::tagList | ||
|
||
#' @export | ||
tags <- htmltools::tags | ||
|
||
#' @export | ||
tagSetChildren <- htmltools::tagSetChildren | ||
|
||
#' @export | ||
validateCssUnit <- htmltools::validateCssUnit | ||
|
||
#' @export | ||
withTags <- htmltools::withTags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
\name{HTML} | ||
\alias{HTML} | ||
\title{Mark Characters as HTML} | ||
\usage{ | ||
HTML(text, ...) | ||
} | ||
\arguments{ | ||
\item{text}{The text value to mark with HTML} | ||
|
||
\item{...}{Any additional values to be converted to character and | ||
concatenated together} | ||
} | ||
\value{ | ||
The same value, but marked as HTML. | ||
} | ||
\description{ | ||
Marks the given text as HTML, which means the \link{tag} functions will know | ||
not to perform HTML escaping on it. | ||
} | ||
\examples{ | ||
el <- div(HTML("I like <u>turtles</u>")) | ||
cat(as.character(el)) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.