View Source UnicodeEmojiFlag (UnicodeEmojiFlag v1.1.0)
Convert country codes to emoji flags 🔡 ➡️ 🇹🇼. For the list of available country codes please refer to https://en.wikipedia.org/wiki/Regional_indicator_symbol#Emoji_flag_sequences
Link to this section Summary
Functions
Takes two or more characters-long country code and produces a sequence ready to be printed on a terminal.
Takes two or more characters-long country code and produces an HTML-ready hexadecimal representation of its flag.
Link to this section Functions
Specs
Takes two or more characters-long country code and produces a sequence ready to be printed on a terminal.
For example IO.puts UnicodeEmojiFlag.console("tw")
Specs
Takes two or more characters-long country code and produces an HTML-ready hexadecimal representation of its flag.
For example in your Phoenix template <%= raw(UnicodeEmojiFlag.html("tw")) %>