1--- 2title: emojify 3description: Runs a string through the Emoji emoticons processor. 4date: 2017-02-01 5publishdate: 2017-02-01 6lastmod: 2017-02-01 7categories: [functions] 8menu: 9 docs: 10 parent: "functions" 11keywords: [strings,emojis] 12signature: ["emojify INPUT"] 13workson: [] 14hugoversion: 15relatedfuncs: [] 16deprecated: false 17--- 18 19`emoji` runs a passed string through the Emoji emoticons processor. 20 21See the [Emoji cheat sheet][emojis] for available emoticons. 22 23The `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 site's [configuration][config]. Then you can write emoji shorthand directly into your content files; e.g. <code>I :</code><code>heart</code><code>: Hugo!</code>: 24 25I :heart: Hugo! 26 27 28[config]: /getting-started/configuration/ 29[emojis]: https://www.webfx.com/tools/emoji-cheat-sheet/ 30[sc]: /templates/shortcode-templates/ 31[scsource]: https://github.com/gohugoio/hugo/tree/master/docs/layouts/shortcodes 32