Roam Emojis
The Roam Emoji extension allows users to use familiar colon syntax to insert emojis into the text block. The name of the script is emojis
.
Usage
The script supports the following configuration attributes, to be added in the [[roam/js/emojis]]
page:
Minimum Characters
- (Optional) The minimum number of characters needed to show the emoji menu, defaulted to 2 just like in slack.
In a block, start typing with a colon, the name of the emoji, followed by an ending colon. The script will replace the colon'ed phrase with the supported emoji.
Installation
var old = document.getElementById("emojis");
if (old) {
old.remove();
}
var s = document.createElement("script");
s.src = "https://roamjs.com/emojis.js";
s.id = "emojis";
s.async = false;
s.type = "text/javascript";
document.getElementsByTagName("head")[0].appendChild(s);
To view all available emojis, they could be found in the following JSON file.