powered by
Initialize a metathis object (i.e. a list of HTML metadata tags), test if an object is a metathis object, or coerce a list of meta tags to be a metathis object.
meta
meta()is_meta(x)as_meta(x)
is_meta(x)
as_meta(x)
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.
<meta>
<head>
rmarkdown::html_document()
shiny::runApp()
A list or metathis object
is_meta(): Test if an objects is a metathis object
is_meta()
as_meta(): Convert a list of meta tags into a metathis object.
as_meta()
Other meta: meta_apple_itunes_app(), meta_apple_web_app(), meta_general(), meta_geo(), meta_google_scholar(), meta_name(), meta_social(), meta_tag(), meta_viewport()
meta_apple_itunes_app()
meta_apple_web_app()
meta_general()
meta_geo()
meta_google_scholar()
meta_name()
meta_social()
meta_tag()
meta_viewport()
meta() %>% meta_viewport() %>% is_meta() list_of_meta_tags <- list( htmltools::tags$meta(github = "gadenbuie"), htmltools::tags$meta(twitter = "grrrck") ) as_meta(list_of_meta_tags)
Run the code above in your browser using DataLab