-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[Emojis in Markdown] #849
[Emojis in Markdown] #849
Conversation
6ac3777
to
c5d2854
Compare
Need helpAny suggestions on how to make codeclimate pass? @benhalpern @jessleenyc |
I think I like this, but it's the kind of thing I have mixed feelings about. Mostly because I haven't really made use of this functionality myself. It feels like markdown maybe shouldn't care about this. Although. It would be a nice shortcut for custom emojis for dev.to, which I like. I think I'm in favor but I'm going to give it some thought. Regarding codeclimate passing, you could extract some of the private methods here into other objects. For example, |
- Added the ability to add emojis using colons 😂 🎉 - The emoji conversion is added to the markdown parser labor - When no emoji is found with the alias, same text is returned - No assets added (no emoji images), so this will only be supported when the browser supports emojis (https://blog.getemoji.com/post/57054354336/which-browsers-support-emoji)
06ff99c
to
394d2c5
Compare
Please have a look when possible, I just refactored it to make code climate pass by creating a emoji converter class (didn't want to modify any method in the markdown parse labor not related to this feature), and let me know what you think! |
- Moved emoji conversion logic out of markdown parser labor - Added its own spec
394d2c5
to
641db25
Compare
After a lot of long deliberation, I'm down to make this happen. @juanmanuelramallo would you mind updating this to make it work alongside some of the changes we've made since? |
Sure thing @benhalpern! |
Updated pull request in here #1653 |
What type of PR is this? (check all applicable)
Description
:joy: :tada:
Related Tickets & Documents
#203
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
Not applicable
Added to documentation?
[optional] What gif best describes this PR or how it makes you feel?