You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("LucyMcGowan/statwords")
library(statwords)
highlight_stat_text("Here are some sentences. This one talks about statistics, like p-value. This one talks about odds ratios.", "example.html")
#> Joining, by = "word"
#> Joining, by = "n_stat_words"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.