| tags: [ Fun ] categories: [Experiment ]
Using emojis in this setup
To get access to emojis set the following flag in the config.toml file:
enableEmoji = true
Note: for emojis to be interpreted correctly your file needs to be an .Rmarkdown
file, .Rmd
wonβt work.
This should mean that emojis work: π π€ π
Here is a cheatsheet of emoji codes: https://www.webpagefx.com/tools/emoji-cheat-sheet/
An R package for emojis
The package emo(ji) allows the insertion of emoji using R.
# install.packages("devtools")
devtools::install_github("hadley/emo")
Load the package:
require(emo)
Then emoji can then be inserted inline `r emo::ji("smile")`
π or `r emo::ji("metal")`
π€
β¦or:
emo::ji("poop")
## π©