Learn R Programming

⚠️There's a newer version (0.5.8.1) of this package.Take me there.

htmltools (version 0.5.2)

Tools for HTML

Description

Tools for HTML generation and output.

Copy Link

Version

Install

install.packages('htmltools')

Monthly Downloads

1,141,953

Version

0.5.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Carson Sievert

Last Published

August 25th, 2021

Functions in htmltools (0.5.2)

builder

Create HTML tags
findDependencies

Collect attached dependencies from HTML tag object
htmlDependencies

HTML dependency metadata
htmlTemplate

Process an HTML template
htmlPreserve

Preserve HTML regions
parseCssColors

Parse CSS color strings
plotTag

Capture a plot as a self-contained <img> tag
makeDependencyRelative

Make an absolute dependency relative
as.tags

Convert a value to tags
save_html

Save an HTML object to a file
knitr_methods

Knitr S3 methods
HTML

Mark Characters as HTML
resolveDependencies

Resolve a list of dependencies
renderDocument

Render an html_document object
renderTags

Render tags into HTML
htmlDependency

Define an HTML dependency
htmlEscape

Escape HTML entities
withTags

Evaluate an expression using tags
subtractDependencies

Subtract dependencies
suppressDependencies

Suppress web dependencies
print.shiny.tag

Print method for HTML/tags
renderDependencies

Create HTML for dependencies
tagQuery

Query and modify HTML tags
tagList

Create a list of tags
copyDependencyToDir

Copy an HTML dependency to a directory
capturePlot

Capture a plot as a saved file
tagAddRenderHook

Modify a tag prior to rendering
tagAppendChild

Modify tag contents
tagFunction

Tag function
tagAppendAttributes

Append tag attributes
html_print

Implementation of the print method for HTML
urlEncodePath

Encode a URL path
singleton

Include content only once
singleton_tools

Singleton manipulation functions
validateCssUnit

Validate proper CSS formatting of a unit
include

Include Content From a File
browsable

Make an HTML object browsable
css

CSS string helper
defaultPngDevice

Determine the best PNG device for your system