mientjan / react-native-markdown-renderer

React Native 100% compatible CommonMark renderer
MIT License
424 stars 418 forks source link

Emoji support #147

Open amirito opened 4 years ago

amirito commented 4 years ago

It doesn't show emoji How can I use emoji in markdown??

iamacup commented 4 years ago

You can use react-native-markdown-display here: https://github.com/iamacup/react-native-markdown-display.

You will need to implement it using a markdown-it plugin, how to do that is documented in the Plugins and Extensions section of the readme with an example for a video plugin.

Someone has done this before, some info about it here: https://github.com/iamacup/react-native-markdown-display/issues/66

You will also be able to do this with react-native-markdown-renderer in a similar way if you don't want to change, as react-native-markdown-display is a fork of this.

prometheas commented 4 years ago

Man, I'm so grateful that you're taking the effort to monitor this project's repository, @iamacup.

Please @mientjan: consider updating this repository to clearly message the fact that you will no longer be maintaining it. Archiving the repo is the easiest thing you might consider doing, but I would encourage your updating the README to clearly message that AND to direct people to the actually-maintained react-native-markdown-display. Ideally, you would also publish one more update to npm which includes install-time messaging about the deprecation and directs users to the module that replaces it.

In case you're super busy, I'd be happy to submit a PR with the needed changes.