transform.Emojify
Returns the given string with emoji shortcodes replaced by their corresponding emoji characters.
- Syntax
- transform.Emojify INPUT
- Returns
- template.HTML
- Alias
- emojify
See the list of emoji shortcodes for available emoticons.
The emojify function can be called in your templates but not directly in your content files by default. For emojis in content files, set enableEmoji to true in your project configuration. Then you can write emoji shorthand directly into your content files;
I :heart: Hugo!I ❤️ Hugo!
Last updated:
September 11, 2026
:
content: Comply with function/method description guidance in style guide (76fa3fc9e)
Improve this page