mirror of
https://github.com/emojisum/emojisum.git
synced 2024-11-23 07:55:39 +00:00
Merge pull request #17 from emojisum/link_list_to_unicode
list: link unicode codepoint the full list
This commit is contained in:
commit
36e7a0015f
3 changed files with 122 additions and 102 deletions
196
emoji/list.md
196
emoji/list.md
|
@ -15,102 +15,102 @@ This ordered list of emojiwords is the conventional order for the practice of co
|
|||
draft+2
|
||||
|
||||
### List
|
||||
* `0` -- :+1: `:+1:` U+1F44D
|
||||
* `1` -- :8ball: `:8ball:` U+1F3B1
|
||||
* `2` -- :airplane: `:airplane:` U+2708
|
||||
* `3` -- :alien: `:alien:` U+1F47D
|
||||
* `4` -- :anchor: `:anchor:` U+2693
|
||||
* `5` -- :angel: `:angel:` U+1F607
|
||||
* `6` -- :angry: `:angry:` U+1F621
|
||||
* `7` -- :ant: `:ant:` U+1F41C
|
||||
* `8` -- :apple: `:apple:` U+1F34E
|
||||
* `9` -- :art: `:art:` U+1F3A8
|
||||
* `10` -- :baby: `:baby:` U+1F476
|
||||
* `11` -- :baby_bottle: `:baby_bottle:` U+1F37C
|
||||
* `12` -- :back: `:back:` U+1F519
|
||||
* `13` -- :bamboo: `:bamboo:` U+1F38D
|
||||
* `14` -- :banana: `:banana:` U+1F34C
|
||||
* `15` -- :barber: `:barber:` U+1F488
|
||||
* `16` -- :bathtub: `:bathtub:` U+1F6C1
|
||||
* `17` -- :beer: `:beer:` U+1F37A
|
||||
* `18` -- :bell: `:bell:` U+1F514
|
||||
* `19` -- :bicyclist: `:bicyclist:` U+1F6B4
|
||||
* `20` -- :bird: `:bird:` U+1F426
|
||||
* `21` -- :birthday: `:birthday:` U+1F382
|
||||
* `22` -- :blossom: `:blossom:` U+1F33C
|
||||
* `23` -- :blue_car: `:blue_car:` U+1F693
|
||||
* `24` -- :boar: `:boar:` U+1F417
|
||||
* `25` -- :bomb: `:bomb:` U+1F4A3
|
||||
* `26` -- :boom: `:boom:` U+1F4A5
|
||||
* `27` -- :bow: `:bow:` U+1F3F9
|
||||
* `28` -- :boy: `:boy:` U+1F466
|
||||
* `29` -- :broken_heart: `:broken_heart:` U+1F494
|
||||
* `30` -- :bulb: `:bulb:` U+1F4A1
|
||||
* `31` -- :bus: `:bus:` U+1F68C
|
||||
* `32` -- :cactus: `:cactus:` U+1F335
|
||||
* `33` -- :calendar: `:calendar:` U+1F4C5
|
||||
* `34` -- :camera: `:camera:` U+1F4F7
|
||||
* `35` -- :candy: `:candy:` U+1F36C
|
||||
* `36` -- :cat: `:cat:` U+1F431
|
||||
* `37` -- :cherries: `:cherries:` U+1F352
|
||||
* `38` -- :children_crossing: `:children_crossing:` U+1F6B8
|
||||
* `39` -- :chocolate_bar: `:chocolate_bar:` U+1F36B
|
||||
* `40` -- :clap: `:clap:` U+1F44F
|
||||
* `41` -- :cloud: `:cloud:` U+2601
|
||||
* `42` -- :clubs: `:clubs:` U+2663
|
||||
* `43` -- :cn: `:cn:` U+1F1E8 U+1F1F3
|
||||
* `44` -- :coffee: `:coffee:` U+2615
|
||||
* `45` -- :construction: `:construction:` U+1F6A7
|
||||
* `46` -- :cookie: `:cookie:` U+1F36A
|
||||
* `47` -- :copyright: `:copyright:` U+00A9
|
||||
* `48` -- :corn: `:corn:` U+1F33D
|
||||
* `49` -- :cow: `:cow:` U+1F42E
|
||||
* `50` -- :crescent_moon: `:crescent_moon:` U+1F319
|
||||
* `51` -- :crown: `:crown:` U+1F451
|
||||
* `52` -- :cry: `:cry:` U+1F622
|
||||
* `53` -- :crystal_ball: `:crystal_ball:` U+1F52E
|
||||
* `54` -- :curly_loop: `:curly_loop:` U+27B0
|
||||
* `55` -- :dancers: `:dancers:` U+1F46F
|
||||
* `56` -- :dash: `:dash:` U+1F4A8
|
||||
* `57` -- :de: `:de:` U+1F1E9 U+1F1EA
|
||||
* `58` -- :diamonds: `:diamonds:` U+2666
|
||||
* `59` -- :dog: `:dog:` U+1F436
|
||||
* `60` -- :doughnut: `:doughnut:` U+1F369
|
||||
* `61` -- :dragon: `:dragon:` U+1F409
|
||||
* `62` -- :dvd: `:dvd:` U+1F4C0
|
||||
* `63` -- :ear: `:ear:` U+1F442
|
||||
* `64` -- :eggplant: `:eggplant:` U+1F346
|
||||
* `65` -- :elephant: `:elephant:` U+1F418
|
||||
* `66` -- :end: `:end:` U+1F51A
|
||||
* `67` -- :envelope: `:envelope:` U+2709
|
||||
* `68` -- :es: `:es:` U+1F1EA U+1F1F8
|
||||
* `69` -- :eyes: `:eyes:` U+1F440
|
||||
* `70` -- :facepunch: `:facepunch:` U+1F44A
|
||||
* `71` -- :family: `:family:` U+1F46A
|
||||
* `72` -- :ferris_wheel: `:ferris_wheel:` U+1F3A1
|
||||
* `73` -- :cold_sweat: `:cold_sweat:` U+1F630
|
||||
* `74` -- :fire: `:fire:` U+1F525
|
||||
* `75` -- :fireworks: `:fireworks:` U+1F386
|
||||
* `76` -- :floppy_disk: `:floppy_disk:` U+1F4BE
|
||||
* `77` -- :football: `:football:` U+1F3C8
|
||||
* `78` -- :fork_and_knife: `:fork_and_knife:` U+1F374
|
||||
* `79` -- :four_leaf_clover: `:four_leaf_clover:` U+1F340
|
||||
* `80` -- :fr: `:fr:` U+1F1EB U+1F1F7
|
||||
* `81` -- :fries: `:fries:` U+1F35F
|
||||
* `0` -- :+1: `:+1:` [U+1F44D](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f44d)
|
||||
* `1` -- :8ball: `:8ball:` [U+1F3B1](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f3b1)
|
||||
* `2` -- :airplane: `:airplane:` [U+2708](http://www.unicode.org/emoji/charts/full-emoji-list.html#2708)
|
||||
* `3` -- :alien: `:alien:` [U+1F47D](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f47d)
|
||||
* `4` -- :anchor: `:anchor:` [U+2693](http://www.unicode.org/emoji/charts/full-emoji-list.html#2693)
|
||||
* `5` -- :angel: `:angel:` [U+1F607](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f607)
|
||||
* `6` -- :angry: `:angry:` [U+1F621](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f621)
|
||||
* `7` -- :ant: `:ant:` [U+1F41C](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f41c)
|
||||
* `8` -- :apple: `:apple:` [U+1F34E](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f34e)
|
||||
* `9` -- :art: `:art:` [U+1F3A8](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f3a8)
|
||||
* `10` -- :baby: `:baby:` [U+1F476](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f476)
|
||||
* `11` -- :baby_bottle: `:baby_bottle:` [U+1F37C](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f37c)
|
||||
* `12` -- :back: `:back:` [U+1F519](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f519)
|
||||
* `13` -- :bamboo: `:bamboo:` [U+1F38D](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f38d)
|
||||
* `14` -- :banana: `:banana:` [U+1F34C](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f34c)
|
||||
* `15` -- :barber: `:barber:` [U+1F488](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f488)
|
||||
* `16` -- :bathtub: `:bathtub:` [U+1F6C1](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f6c1)
|
||||
* `17` -- :beer: `:beer:` [U+1F37A](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f37a)
|
||||
* `18` -- :bell: `:bell:` [U+1F514](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f514)
|
||||
* `19` -- :bicyclist: `:bicyclist:` [U+1F6B4](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f6b4)
|
||||
* `20` -- :bird: `:bird:` [U+1F426](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f426)
|
||||
* `21` -- :birthday: `:birthday:` [U+1F382](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f382)
|
||||
* `22` -- :blossom: `:blossom:` [U+1F33C](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f33c)
|
||||
* `23` -- :blue_car: `:blue_car:` [U+1F693](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f693)
|
||||
* `24` -- :boar: `:boar:` [U+1F417](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f417)
|
||||
* `25` -- :bomb: `:bomb:` [U+1F4A3](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f4a3)
|
||||
* `26` -- :boom: `:boom:` [U+1F4A5](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f4a5)
|
||||
* `27` -- :bow: `:bow:` [U+1F3F9](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f3f9)
|
||||
* `28` -- :boy: `:boy:` [U+1F466](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f466)
|
||||
* `29` -- :broken_heart: `:broken_heart:` [U+1F494](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f494)
|
||||
* `30` -- :bulb: `:bulb:` [U+1F4A1](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f4a1)
|
||||
* `31` -- :bus: `:bus:` [U+1F68C](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f68c)
|
||||
* `32` -- :cactus: `:cactus:` [U+1F335](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f335)
|
||||
* `33` -- :calendar: `:calendar:` [U+1F4C5](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f4c5)
|
||||
* `34` -- :camera: `:camera:` [U+1F4F7](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f4f7)
|
||||
* `35` -- :candy: `:candy:` [U+1F36C](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f36c)
|
||||
* `36` -- :cat: `:cat:` [U+1F431](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f431)
|
||||
* `37` -- :cherries: `:cherries:` [U+1F352](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f352)
|
||||
* `38` -- :children_crossing: `:children_crossing:` [U+1F6B8](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f6b8)
|
||||
* `39` -- :chocolate_bar: `:chocolate_bar:` [U+1F36B](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f36b)
|
||||
* `40` -- :clap: `:clap:` [U+1F44F](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f44f)
|
||||
* `41` -- :cloud: `:cloud:` [U+2601](http://www.unicode.org/emoji/charts/full-emoji-list.html#2601)
|
||||
* `42` -- :clubs: `:clubs:` [U+2663](http://www.unicode.org/emoji/charts/full-emoji-list.html#2663)
|
||||
* `43` -- :cn: `:cn:` [U+1F1E8](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1e8) [U+1F1F3](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1f3)
|
||||
* `44` -- :coffee: `:coffee:` [U+2615](http://www.unicode.org/emoji/charts/full-emoji-list.html#2615)
|
||||
* `45` -- :construction: `:construction:` [U+1F6A7](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f6a7)
|
||||
* `46` -- :cookie: `:cookie:` [U+1F36A](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f36a)
|
||||
* `47` -- :copyright: `:copyright:` [U+00A9](http://www.unicode.org/emoji/charts/full-emoji-list.html#00a9)
|
||||
* `48` -- :corn: `:corn:` [U+1F33D](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f33d)
|
||||
* `49` -- :cow: `:cow:` [U+1F42E](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f42e)
|
||||
* `50` -- :crescent_moon: `:crescent_moon:` [U+1F319](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f319)
|
||||
* `51` -- :crown: `:crown:` [U+1F451](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f451)
|
||||
* `52` -- :cry: `:cry:` [U+1F622](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f622)
|
||||
* `53` -- :crystal_ball: `:crystal_ball:` [U+1F52E](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f52e)
|
||||
* `54` -- :curly_loop: `:curly_loop:` [U+27B0](http://www.unicode.org/emoji/charts/full-emoji-list.html#27b0)
|
||||
* `55` -- :dancers: `:dancers:` [U+1F46F](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f46f)
|
||||
* `56` -- :dash: `:dash:` [U+1F4A8](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f4a8)
|
||||
* `57` -- :de: `:de:` [U+1F1E9](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1e9) [U+1F1EA](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1ea)
|
||||
* `58` -- :diamonds: `:diamonds:` [U+2666](http://www.unicode.org/emoji/charts/full-emoji-list.html#2666)
|
||||
* `59` -- :dog: `:dog:` [U+1F436](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f436)
|
||||
* `60` -- :doughnut: `:doughnut:` [U+1F369](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f369)
|
||||
* `61` -- :dragon: `:dragon:` [U+1F409](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f409)
|
||||
* `62` -- :dvd: `:dvd:` [U+1F4C0](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f4c0)
|
||||
* `63` -- :ear: `:ear:` [U+1F442](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f442)
|
||||
* `64` -- :eggplant: `:eggplant:` [U+1F346](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f346)
|
||||
* `65` -- :elephant: `:elephant:` [U+1F418](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f418)
|
||||
* `66` -- :end: `:end:` [U+1F51A](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f51a)
|
||||
* `67` -- :envelope: `:envelope:` [U+2709](http://www.unicode.org/emoji/charts/full-emoji-list.html#2709)
|
||||
* `68` -- :es: `:es:` [U+1F1EA](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1ea) [U+1F1F8](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1f8)
|
||||
* `69` -- :eyes: `:eyes:` [U+1F440](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f440)
|
||||
* `70` -- :facepunch: `:facepunch:` [U+1F44A](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f44a)
|
||||
* `71` -- :family: `:family:` [U+1F46A](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f46a)
|
||||
* `72` -- :ferris_wheel: `:ferris_wheel:` [U+1F3A1](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f3a1)
|
||||
* `73` -- :cold_sweat: `:cold_sweat:` [U+1F630](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f630)
|
||||
* `74` -- :fire: `:fire:` [U+1F525](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f525)
|
||||
* `75` -- :fireworks: `:fireworks:` [U+1F386](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f386)
|
||||
* `76` -- :floppy_disk: `:floppy_disk:` [U+1F4BE](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f4be)
|
||||
* `77` -- :football: `:football:` [U+1F3C8](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f3c8)
|
||||
* `78` -- :fork_and_knife: `:fork_and_knife:` [U+1F374](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f374)
|
||||
* `79` -- :four_leaf_clover: `:four_leaf_clover:` [U+1F340](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f340)
|
||||
* `80` -- :fr: `:fr:` [U+1F1EB](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1eb) [U+1F1F7](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1f7)
|
||||
* `81` -- :fries: `:fries:` [U+1F35F](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f35f)
|
||||
* `82` -- :frog: `:frog:`
|
||||
* `83` -- :fu: `:fu:` U+1F595
|
||||
* `84` -- :full_moon: `:full_moon:` U+1F315
|
||||
* `85` -- :game_die: `:game_die:` U+1F3B2
|
||||
* `86` -- :eu: `:eu:` U+1F1EA U+1F1FA
|
||||
* `87` -- :gem: `:gem:` U+1F48E
|
||||
* `88` -- :girl: `:girl:` U+1F467
|
||||
* `89` -- :goat: `:goat:` U+1F410
|
||||
* `90` -- :grimacing: `:grimacing:` U+1F62C
|
||||
* `91` -- :grin: `:grin:` U+1F600
|
||||
* `92` -- :guardsman: `:guardsman:` U+1F482
|
||||
* `93` -- :guitar: `:guitar:` U+1F3B8
|
||||
* `94` -- :gun: `:gun:` U+1F52B
|
||||
* `95` -- :hamburger: `:hamburger:` U+1F354
|
||||
* `83` -- :fu: `:fu:` [U+1F595](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f595)
|
||||
* `84` -- :full_moon: `:full_moon:` [U+1F315](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f315)
|
||||
* `85` -- :game_die: `:game_die:` [U+1F3B2](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f3b2)
|
||||
* `86` -- :eu: `:eu:` [U+1F1EA](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1ea) [U+1F1FA](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f1fa)
|
||||
* `87` -- :gem: `:gem:` [U+1F48E](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f48e)
|
||||
* `88` -- :girl: `:girl:` [U+1F467](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f467)
|
||||
* `89` -- :goat: `:goat:` [U+1F410](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f410)
|
||||
* `90` -- :grimacing: `:grimacing:` [U+1F62C](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f62c)
|
||||
* `91` -- :grin: `:grin:` [U+1F600](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f600)
|
||||
* `92` -- :guardsman: `:guardsman:` [U+1F482](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f482)
|
||||
* `93` -- :guitar: `:guitar:` [U+1F3B8](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f3b8)
|
||||
* `94` -- :gun: `:gun:` [U+1F52B](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f52b)
|
||||
* `95` -- :hamburger: `:hamburger:` [U+1F354](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f354)
|
||||
* `96` -- :hammer: `:hammer:`
|
||||
* `97` -- :hamster: `:hamster:`
|
||||
* `98` -- :hear_no_evil: `:hear_no_evil:`
|
||||
|
@ -127,7 +127,7 @@ draft+2
|
|||
* `109` -- :horse_racing: `:horse_racing:`
|
||||
* `110` -- :hourglass: `:hourglass:`
|
||||
* `111` -- :house: `:house:`
|
||||
* `112` -- :female_detective: `:female_detective:` U+1F575 U+1FE0F U+200D U+2640
|
||||
* `112` -- :female_detective: `:female_detective:` [U+1F575](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f575) [U+1FE0F](http://www.unicode.org/emoji/charts/full-emoji-list.html#1fe0f) [U+200D](http://www.unicode.org/emoji/charts/full-emoji-list.html#200d) [U+2640](http://www.unicode.org/emoji/charts/full-emoji-list.html#2640)
|
||||
* `113` -- :icecream: `:icecream:`
|
||||
* `114` -- :imp: `:imp:`
|
||||
* `115` -- :it: `:it:`
|
||||
|
@ -146,7 +146,7 @@ draft+2
|
|||
* `128` -- :man: `:man:`
|
||||
* `129` -- :maple_leaf: `:maple_leaf:`
|
||||
* `130` -- :mask: `:mask:`
|
||||
* `131` -- :metal: `:metal:` U+1F918
|
||||
* `131` -- :metal: `:metal:` [U+1F918](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f918)
|
||||
* `132` -- :microscope: `:microscope:`
|
||||
* `133` -- :moneybag: `:moneybag:`
|
||||
* `134` -- :monkey: `:monkey:`
|
||||
|
@ -247,7 +247,7 @@ draft+2
|
|||
* `229` -- :tophat: `:tophat:`
|
||||
* `230` -- :tractor: `:tractor:`
|
||||
* `231` -- :trolleybus: `:trolleybus:`
|
||||
* `232` -- :nauseated_face: `:nauseated_face:` U+1F922
|
||||
* `232` -- :nauseated_face: `:nauseated_face:` [U+1F922](http://www.unicode.org/emoji/charts/full-emoji-list.html#1f922)
|
||||
* `233` -- :trophy: `:trophy:`
|
||||
* `234` -- :trumpet: `:trumpet:`
|
||||
* `235` -- :turtle: `:turtle:`
|
||||
|
|
16
emoji/map.go
16
emoji/map.go
|
@ -1,6 +1,9 @@
|
|||
package emoji
|
||||
|
||||
import "strings"
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// Map returns the emoji at the provided position.
|
||||
// This list is from 0-255
|
||||
|
@ -37,3 +40,14 @@ func IsColonNotation(word string) bool {
|
|||
func IsCodepoint(word string) bool {
|
||||
return strings.HasPrefix(strings.ToUpper(word), "U+")
|
||||
}
|
||||
|
||||
var unicodeURL = `http://www.unicode.org/emoji/charts/full-emoji-list.html`
|
||||
|
||||
// UnicodeLink returns a link to unicode.org list for CodePoint, or just the
|
||||
// full list if not a codepoint
|
||||
func UnicodeLink(word string) string {
|
||||
if !IsCodepoint(word) {
|
||||
return unicodeURL
|
||||
}
|
||||
return fmt.Sprintf("%s#%s", unicodeURL, strings.SplitN(strings.ToLower(word), "+", 2)[1])
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ package main
|
|||
import (
|
||||
"encoding/json"
|
||||
"flag"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"text/template"
|
||||
|
@ -35,8 +36,9 @@ func main() {
|
|||
|
||||
//mapGoTemp := template.Must(template.ParseFiles(*flTemplate))
|
||||
funcMap := template.FuncMap{
|
||||
"IsColonNotation": emoji.IsColonNotation,
|
||||
"IsCodepoint": emoji.IsCodepoint,
|
||||
"IsColonNotation": emoji.IsColonNotation,
|
||||
"IsCodepoint": emoji.IsCodepoint,
|
||||
"CodepointLinkMarkdown": codepointLinkMarkdown,
|
||||
}
|
||||
|
||||
mapGoTemp, err := template.New("").Funcs(funcMap).Parse(tmpl[*flTemplate])
|
||||
|
@ -48,6 +50,10 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
func codepointLinkMarkdown(word string) string {
|
||||
return fmt.Sprintf(`[%s](%s)`, word, emoji.UnicodeLink(word))
|
||||
}
|
||||
|
||||
var (
|
||||
flInput = flag.String("in", "emojimap.json", "json input")
|
||||
flOutput = flag.String("out", "map_gen.go", "golang output")
|
||||
|
@ -91,7 +97,7 @@ To view the functional document, see [emojimap.json](./emojimap.json).
|
|||
### List
|
||||
|
||||
{{- range $index, $words := .EmojiWords }}
|
||||
* ` + "`{{ $index }}`" + ` -- {{ range $words }} {{- if IsColonNotation . -}} {{ . }} ` + "`{{ . }}`" + ` {{- else }} {{.}} {{- end }}{{- end }}
|
||||
* ` + "`{{ $index }}`" + ` -- {{ range $words }} {{- if IsColonNotation . -}} {{ . }} ` + "`{{ . }}`" + ` {{- else }} {{ CodepointLinkMarkdown . }} {{- end }}{{- end }}
|
||||
{{- end }}
|
||||
`,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue