alfred3.util.emoji#

alfred3.util.emoji(text: str, size: str = '1rem') str[source]#

Returns a new string in which emoji shortcodes in the input string are replaced with their unicode representation.

Emoji printing can be used in all TextElements and Element labels. An overview of shortcodes can be found here: https://www.webfx.com/tools/emoji-cheat-sheet/

Parameters

text – Text, containing emoji shortcodes.