Package: htmltools 0.5.8.9000

Carson Sievert

htmltools: Tools for HTML

Tools for HTML generation and output.

Authors:Joe Cheng [aut], Carson Sievert [aut, cre], Barret Schloerke [aut], Winston Chang [aut], Yihui Xie [aut], Jeff Allen [aut], Posit Software, PBC [cph, fnd]

htmltools_0.5.8.9000.tar.gz
htmltools_0.5.8.9000.zip(r-4.5)htmltools_0.5.8.9000.zip(r-4.4)htmltools_0.5.8.9000.zip(r-4.3)
htmltools_0.5.8.9000.tgz(r-4.4-arm64)htmltools_0.5.8.9000.tgz(r-4.4-x86_64)htmltools_0.5.8.9000.tgz(r-4.3-arm64)htmltools_0.5.8.9000.tgz(r-4.3-x86_64)
htmltools_0.5.8.9000.tar.gz(r-4.5-noble)htmltools_0.5.8.9000.tar.gz(r-4.4-noble)
htmltools_0.5.8.9000.tgz(r-4.4-emscripten)htmltools_0.5.8.9000.tgz(r-4.3-emscripten)
htmltools.pdf |htmltools.html
htmltools/json (API)
NEWS

# Install htmltools in R:
install.packages('htmltools', repos = c('https://rstudio.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rstudio/htmltools/issues

On CRAN:

77 exports 213 stars 16.93 score 4 dependencies 4080 dependents 974.5k downloads

Last updated 1 months agofrom:487aa0bed7313d7597b6edd5810e53cab0061198

Exports:aas.tagsattachDependenciesbindFillRolebrbrowsablecapturePlotcodecopyDependencyToDircssdefaultPngDevicedivdoRenderTagsemextractPreserveChunksfindDependenciesh1h2h3h4h5h6hrHTMLhtml_printhtmlDependencieshtmlDependencies<-htmlDependencyhtmlEscapehtmlPreservehtmlTemplateimgincludeCSSincludeHTMLincludeMarkdownincludeScriptincludeTextis.browsableis.singletonknit_print.htmlknit_print.html_dependencyknit_print.shiny.tagknit_print.shiny.tag.listmakeDependencyRelativepparseCssColorsplotTagprerenderDependenciesrenderDocumentrenderTagsresolveDependenciesrestorePreserveChunkssave_htmlsingletonspanstrongsubtractDependenciessuppressDependenciessurroundSingletonstagtagAddRenderHooktagAppendAttributestagAppendChildtagAppendChildrentagFunctiontagGetAttributetagHasAttributetagInsertChildrentagListtagQuerytagstagSetChildrentakeSingletonsurlEncodePathvalidateCssUnitwithTags

Dependencies:base64encdigestfastmaprlang

Readme and manuals

Help Manual

Help pageTopics
Convert a value to tagsas.tags
Allow tags to intelligently fill their containerbindFillRole
Make an HTML object browsablebrowsable is.browsable
Create HTML tagsa br builder code div em h1 h2 h3 h4 h5 h6 hr img p pre span strong tag tags
Capture a plot as a saved filecapturePlot
Copy an HTML dependency to a directorycopyDependencyToDir
CSS string helpercss
Determine the best PNG device for your systemdefaultPngDevice
Collect attached dependencies from HTML tag objectfindDependencies
Mark Characters as HTMLHTML
Implementation of the print method for HTMLhtml_print
HTML dependency metadataattachDependencies htmlDependencies htmlDependencies<-
Define an HTML dependencyhtmlDependency
Escape HTML entitieshtmlEscape
Preserve HTML regionsextractPreserveChunks htmlPreserve restorePreserveChunks
Process an HTML templatehtmlTemplate
Include Content From a Fileinclude includeCSS includeHTML includeMarkdown includeScript includeText
Knitr S3 methodsknitr_methods knit_print.html knit_print.html_dependency knit_print.shiny.tag knit_print.shiny.tag.list
Make an absolute dependency relativemakeDependencyRelative
Parse CSS color stringsparseCssColors
Capture a plot as a self-contained <img> tagplotTag
Print method for HTML/tagsprint.html print.shiny.tag
Create HTML for dependenciesrenderDependencies
Render an html_document objectrenderDocument
Render tags into HTMLdoRenderTags renderTags
Resolve a list of dependenciesresolveDependencies
Save an HTML object to a filesave_html save_html.default
Include content only onceis.singleton singleton
Singleton manipulation functionssingleton_tools surroundSingletons takeSingletons
Subtract dependenciessubtractDependencies
Suppress web dependenciessuppressDependencies
Modify a tag prior to renderingtagAddRenderHook
Append tag attributestagAppendAttributes tagGetAttribute tagHasAttribute
Modify tag contentstagAppendChild tagAppendChildren tagInsertChildren tagSetChildren
Tag functiontagFunction
Create a list of tagstagList
Query and modify HTML tagstagQuery
Encode a URL pathurlEncodePath
Validate proper CSS formatting of a unitvalidateCssUnit
Evaluate an expression using 'tags'withTags