R/LNTagFunctions.R
LNaddTag.Rd
Generate a Living Norway metadata tag Add a metadata HTML tag. This function is designed to be run in RMarkdown documents. This function is not designed to be run directly by the users but serves as a utility functions for other HTML tag generation functions.
LNaddTag(
tagText,
tagType,
tagID = NA,
parentID = NA,
isHidden = FALSE,
lang = NA,
...
)
A character
scalar containing the unique ID of the tag
A character
scalar containing the unique ID of the parent of the tag
(if there is a parent)
A logical
scalar determining whether the tag should appear in the rendered HTML text
A character
scalar defining the language attribute to set for the tag. See
https://www.w3.org/International/articles/language-tags/the W3C guide to language tags for the
best format to use for this attribute. A value NA
indicates that no langauge attribute will be set.
A character
scalar containing the text to be enclosed in the tag
A character
scalar containing the name of the EML element that will be tagged
A character
scalar containing the rendered output including any HTML tags if a
HTML document is being knitted