Emojify.md - hugo - [fork] hugo port for 9front
(HTM) git clone https://git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
Emojify.md (824B)
---
1 ---
2 title: transform.Emojify
3 description: Runs a string through the Emoji emoticons processor.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 aliases: [emojify]
9 returnType: template.HTML
10 signatures: [transform.Emojify INPUT]
11 aliases: [/functions/emojify]
12 ---
13
14 `emojify` runs a passed string through the Emoji emoticons processor.
15
16 See the list of [emoji shortcodes] for available emoticons.
17
18 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 site's configuration. Then you can write emoji shorthand directly into your content files;
19
20 ```text
21 I :heart: Hugo!
22 ```
23
24 I :heart: Hugo!
25
26 [`enableEmoji`]: /configuration/all/#enableemoji
27 [emoji shortcodes]: /quick-reference/emojis/