mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-13 02:46:24 +00:00
allow underscores in an emoji shortcode
This commit is contained in:
parent
835ec26141
commit
ccbdfb95c1
2
30.md
2
30.md
@ -14,7 +14,7 @@ Custom emoji may be added to **kind 0** and **kind 1** events by including one o
|
||||
|
||||
Where:
|
||||
|
||||
- `<shortcode>` is a name given for the emoji, which MUST be comprised of only alphanumeric characters.
|
||||
- `<shortcode>` is a name given for the emoji, which MUST be comprised of only alphanumeric characters and underscores.
|
||||
- `<image-url>` is a URL to the corresponding image file of the emoji.
|
||||
|
||||
For each emoji tag, clients should parse emoji shortcodes (aka "emojify") like `:shortcode:` in the event to display custom emoji.
|
||||
|
Loading…
Reference in New Issue
Block a user