react-native-markdown-renderer icon indicating copy to clipboard operation
react-native-markdown-renderer copied to clipboard

Emoji support

Open amirito opened this issue 5 years ago • 2 comments
trafficstars

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

amirito avatar Jun 06 '20 14:06 amirito

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.

iamacup avatar Jun 06 '20 18:06 iamacup

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.

prometheas avatar Jun 25 '20 16:06 prometheas