badgify | R Documentation |
Turn Text into A Badge
badgify(
vec,
fontweight = c("bold", "bolder", "normal", "inherit", "initial", "lighter", "unset"),
fontsize = c("xx-small", "x-small", "small", "medium", "large", "unset", "inherit"),
color_background = "#d2d6de",
color_text = "#444"
)
vec |
a vector of terms to make into a badge |
fontweight |
fontweight of badge text |
fontsize |
fontsize of badge text |
color_background |
background colour. Can be a single value or a vector the same length as vec. |
color_text |
text colour. Can be a single value or a vector the same length as vec. |
string with html encoding for the badge
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.