emoji

.emoji shortcode:{String} -> <Error class: unknown class>

Inserts an emoji by its shortcode, e.g., smile.

An emoji can be described with:

  • A simple short-code: .emoji {wink} produces 😉

  • A short-code with one skin tone: .emoji {waving-hand~medium-dark} produces 👋🏾

  • A short-code with two skin tones: .emoji {people-holding-hands~medium-light,medium-dark} produces 🧑🏼‍🤝‍🧑🏾

A complete list of shortcodes can be found at quarkdown.com/docs/emoji-list.

Note: the first call to this function initializes the emoji catalog, which may take a moment. Subsequent calls will be faster.

Return

the emoji as a string, or the shortcode as plain text, surrounded by colons, if not found

Parameters

shortcode

the shortcode of the emoji to insert (without colons)

Wiki page

Emojis