This is a wrapper to put HTML-tag around character string input to be rendered as small capital in the output document of an R Markdown file.
scaps(x)
x | A character string (e.g. a word or phrase). |
---|
Character string with HTML-tag for small capital.
scaps("happiness")#> [1] "<span style = 'font-variant:small-caps;'>happiness</span>"