Description Usage Arguments Value
This function detects uppercase words, then wraps them with an HTML span. These spans are given the id = ngram, and a color specified by color. The ngram id could be used in css to further customize the style of the highlighted text.
1 | colorize_uppercase(text, color = "red")
|
text |
string of text |
color |
a color code for html css |
text string of text with css span color set to red for uppercase words
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.