-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature idea: named emoji like :wink:
#183
Comments
:wink:
This looks really cool, you can provide a list of emoji symbols here |
You can find a full list here: Notice that each emoji contains both the emoji code and the Unicode codepoint in the URL. For example: P.S.: Some emojis are combinations of more than one emoji (for example |
Here's a long list: https://www.webfx.com/tools/emoji-cheat-sheet/ (GitHub handles these: 🎸 )
One way would be for md4c to simply detect
:word_sequence:
syntax and give us a span like MD_SPAN_SYMBOL or so; the user of the library could do whatever is needed to translate those names to glyphs.Another way is to actually make the Unicode substitutions inline with no span, as if the author had typed a Unicode symbol in the markdown file. But that would add some bloat (a table mapping names to Unicode codepoints) and also loses information: what name the markdown author was using between colons. To rewrite the same markdown, a reverse lookup would be necessary.
So I think I like the first way better: less bloat in md4c, and as extensible as the user wants.
The text was updated successfully, but these errors were encountered: