Skip to contents

Creates metadata tag pairs where the arguments are the name values and their values are content values.

Usage

meta_name(.meta = meta(), ...)

Arguments

.meta

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

...

Name (argument names) and content (argument value) pairs.

Value

A meta object, or a set of <meta> HTML tags inside an HTML <head> tag. For use in rmarkdown::html_document(), shiny::runApp(), or other HTML locations.

Examples

meta() %>%
  meta_name("github-repo" = "hadley/r4ds")
#> <meta name="github-repo" content="hadley/r4ds"/>