emo icon indicating copy to clipboard operation
emo copied to clipboard

Two new functions perhaps?

Open emillykkejensen opened this issue 6 years ago • 1 comments

Might I suggest:

emojiToHTML <- function(x) paste(paste0("&#", utf8ToInt(x), ";"), collapse = "")

ji_replace_all_withHTML <- function(string) emo::ji_replace_all(string, emojiToHTML)

emillykkejensen avatar Feb 02 '18 20:02 emillykkejensen

Would this work for all emojis, even those encoded as multiple runes ?

I like the idea, but this needs better names

romainfrancois avatar Apr 14 '18 16:04 romainfrancois