Create HTML tags

tags p() h1() h2() h3() h4() h5() h6() a() br() div() span() pre() code() img() strong() em() hr() tag()

Create HTML tags

tagList()

Create a list of tags

HTML()

Mark Characters as HTML

tags p() h1() h2() h3() h4() h5() h6() a() br() div() span() pre() code() img() strong() em() hr() tag()

Create HTML tags

plotTag()

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

includeHTML() includeText() includeMarkdown() includeCSS() includeScript()

Include Content From a File

browsable() is.browsable()

Make an HTML object browsable

withTags()

Evaluate an expression using tags

Modify tags

tagAppendChild() tagAppendChildren() tagSetChildren() tagInsertChildren()

Modify tag contents

tagAppendAttributes() tagHasAttribute() tagGetAttribute()

Append tag attributes

Render tags

print(<shiny.tag>) print(<html>)

Print method for HTML/tags

renderDependencies()

Create HTML for dependencies

renderDocument()

Render an html_document object

renderTags() doRenderTags()

Render tags into HTML

save_html()

Save an HTML object to a file

html_print()

Implementation of the print method for HTML

Singleton tag

singleton() is.singleton()

Include content only once

surroundSingletons() takeSingletons()

Singleton manipulation functions

HTML templates

htmlTemplate()

Process an HTML template

htmlPreserve() extractPreserveChunks() restorePreserveChunks()

Preserve HTML regions

HTML dependencies

htmlDependency()

Define an HTML dependency

htmlDependencies() `htmlDependencies<-`() attachDependencies()

HTML dependency metadata

findDependencies()

Collect attached dependencies from HTML tag object

subtractDependencies()

Subtract dependencies

suppressDependencies()

Suppress web dependencies

copyDependencyToDir()

Copy an HTML dependency to a directory

makeDependencyRelative()

Make an absolute dependency relative

resolveDependencies()

Resolve a list of dependencies

Plot handling

plotTag()

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

capturePlot()

Capture a plot as a saved file

defaultPngDevice()

Determine the best PNG device for your system

Utilities

css()

CSS string helper

parseCssColors()

Parse CSS color strings

htmlEscape()

Escape HTML entities

urlEncodePath()

Encode a URL path

validateCssUnit()

Validate proper CSS formatting of a unit

knit_print.shiny.tag() knit_print.html() knit_print.shiny.tag.list()

Knitr S3 methods

Advanced tag objects

tagQuery()

Query and modify HTML tags

tagAddRenderHook()

Modify a tag prior to rendering

tagFunction()

Tag function

as.tags()

Convert a value to tags