Skip to contents

Use include_meta() to explicitly declare the meta() tags as an HTML dependency. In general, this is not required when knitting to an HTML document. This function explicitly attaches an htmltools::htmlDependency() and may work in some unusual cases.

Usage

include_meta(.meta)

Arguments

.meta

A meta object created by meta() or as_meta(), or returned by a meta_*() object.

Value

An htmltools::htmlDependency() containing the metadata tags to be included in the <head> of the HTML document.

See also

Other meta_actions: write_meta()

Examples

meta() %>%
  meta_name("github-repo" = "gadenbuie/metathis") %>%
  include_meta()
#>