emo
emo copied to clipboard
document hook
Not sure how to call it yet, but something like
knitr::knit_hooks$set(document = function(x) {
# gsub(..., x)
})
The function would replace e.g. :grinning_face:
with 😀
(Moved from https://github.com/ThinkRstat/emojitsu/issues/4)