Shadiao Garden

Shadiao makes people forward!


  • Home

  • Archive

  • About

  • Search

Emoji Support

Published at: 2019/03/05 Words: 145 words Reading: 1 minutes Visited:

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’s configuration and then you can type emoji shorthand codes directly in content files; e.g.

Monkey

🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:


Number

1️⃣ :one: 2️⃣ :two: 3️⃣ :three:


Building

🏡 :house_with_garden: 🏣 :post_office: 🏥 :hospital:

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


N.B. The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.

.emoji {
  font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
}
#emoji#
Math Typesetting
Idiot-Idolt

Idiot-Idolt

Idiot is idolt!

4 Blogs
2 Categories
5 Tags
GitHub
TagCloud
  • Markdown 2
  • Css 1
  • Emoji 1
  • HTML 1
  • Text 1
© 2010 - 2025 Shadiao Garden
Powered by - Hugo v0.101.0 / Theme by - NexT
/
Storage by Github Repository /
0%