Files
site/themes/minimo/exampleSite/content/docs/emoji-support.md
2021-09-06 13:02:12 -04:00

922 B

date, title, authors, categories, tags, emoji
date title authors categories tags emoji
2018-02-27T21:00:00+06:00 Emoji Support
muniftanjim
features
config
true

First of all, if you really want emojis, set the enableEmoji setting to true in your config.toml file:

enableEmoji = true

This will enable Hugo to find Emoji Shorthands in your content files and render them as Unicode Emoji Characters.

For example:

{{% center %}} :smiley: will become 😃 {{%/ center %}}

No, it'll probably not be that colorful! Unless your device's operating system natively supports colorful emojis, you will see a black & white one instead. 🔥

✏️ For getting that colorful look, you will have to add this to your content's frontmatter:

---
emoji: true
---

And where can you find these Emoji Shorthands

🎉 Go take a look at: Emoji Cheat Sheet