Emoji Support

Emoji can be enabled in a Hugo project in a number of ways.

The emojify function can be called directly in templates or Inline Shortcodes.

To enable emoji globally, set enableEmoji to true in your site configuration and then you can type emoji shorthand codes directly in content files.

These begin and end with a colon and include the code of an emoji:

1
2
3
Gone camping! :tent: Be back soon.

That is so funny! :joy:

The rendered output looks like this:

Gone camping! ⛺ Be back soon.

That is so funny! 😂

See  Escape character


The following cheat sheet is a useful reference for emoji shorthand codes.

Icon Code
😀 :grinning:
😕 :confused:
😄 :smile:
😰 :cold_sweat:
😢 :cry:
😮 :open_mouth:
😉 :wink:
😫 :tired_face:
🤔 :thinking:
😎 :sunglasses:
⬅️ :arrow_left:
➡️ :arrow_right:
✖️ :heavy_multiplication_x:
:heavy_plus_sign:
💖 :sparkling_heart:
💓 :heartbeat:
❤️ :heart:
‼️ :bangbang:
⁉️ :interrobang:
:question:
:grey_exclamation:
🎶 :notes:
🔷 :large_blue_diamond:
🔶 :large_orange_diamond:
:white_large_square:
:sparkles:
⚠️ :warning:
:partly_sunny:
:star:
💧 :droplet:
🔥 :fire:
❄️ :snowflake:
🍀 :four_leaf_clover: