meta_name: Create name/content metadata tag pairs

View source: R/meta.R

meta_nameR Documentation

Create name/content metadata tag pairs

Description

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.

See Also

Other meta: meta_apple_itunes_app(), meta_apple_web_app(), meta_general(), meta_geo(), meta_google_scholar(), meta_social(), meta_tag(), meta_viewport(), meta()

Examples

meta() %>%
  meta_name("github-repo" = "hadley/r4ds")


metathis documentation built on July 26, 2023, 5:49 p.m.