English
O ever youthful,O ever weeping.

Don't stop running forward!


  • Home

  • Archive

  • About

  • Page404

  • Search

Emoji Support

Published at: 2019/03/05 | Words: 144 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#
QQ QrCode

Declaration:Emoji Support

Link:https://murphyhanxu.github.io/en/post/emoji-support/

Author:Murphy

Declaration: This blog post article is under the CC BY-NC-SA 3.0 license,Please indicate the source!

If it can help you, you can give tips for blogger that how much you want. ^_^
WeChat Pay

Wechat Pay

Murphy

Murphy

Never forget your dreams!

1 Blogs
0 Categories
1 Tags
GitHub
Links
  • LiaoXueFeng
  • Mickeylili
TagCloud
  • Emoji
© 2010 - 2023 O ever youthful,O ever weeping.
0%