The simplest to insert emojis in the document is to copy/paste the unicode symbol. But emojis can also be interpreted by their shortcode, their name enclosed in colons :shortcode:. The list of shortcodes can be a local file or downloaded from the Internet (automatic). Shortcodes depend on the Paragraph.EmojisLocal property.

Local file

The EmojisLocal property can be either a filename (relative or absolute) or just a local identifier used to format the path to the resource. In the latter case, you must first set the global variable EmojisShortCodeLink to a valid formatting string such as C:\MyFolder\%s\emojis.json. The file must be a valid json file as shown below:

{
  "Code_Points": "Short_Code"
}

Example

{
  "1F441": "eye",
  "1F442": "ear",
  "1F442-1F3FB": "ear_tone1",
  "1F442-1F3FC": "ear_tone2",
}

Internet: emojibase

Works like the local file, but with a URL. By default EmojisShortCodeLink points to the Miles Johnson emojibase (thanks to him for maintaining this list), change it if you like. The emoji list will be cached for future quick access.

With emojibase it is mandatory that the EmojisLocal  property is a local identifier like en (English US). Please visit emojibase\packages for available locals.

Internet: github

Markdown components are also able to handle GitHub-specific emojis, for example those included in a Readme.md file loaded directly from your repository via LoadFromURI.

Examples