R/add_tag.R
add_tag.Rd
Add HTML Tags to Text
add_tag(text, tag = "h3")
Text string
HTML tag like p, b, h1 or other
glue
character with HTML tags
character
You can add tags to text using clean_tags() function
clean_tags()
add_tag("Title Text", tag = "h2") #> <h2> Title Text </h2> add_tag("bold text", tag = "b") #> <b> bold text </b>