| text_weight | R Documentation | 
The text_weight() function adjusts the font weight of a tag element.
text_weight(x, weight)
| x | A tag element or .style pronoun. | 
| weight | A character string specifying the font weight. One of, 
 | 
An object of the same type as x.
Other text utilities: 
text_alignment(),
text_break(),
text_color(),
text_decoration(),
text_height(),
text_selection(),
text_style(),
text_transform(),
text_wrap()
library(htmltools)
p(
  .style %>%
    text_weight("bold"),
  "Bold"
)
p(
  .style %>%
    text_weight("light"),
  "Light"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.