Miss any of our Open RFC calls?Watch the recordings here! »

interweave-emoji

5.4.0 • Public • Published

Interweave with Emoji

Build Status npm version npm deps

Provides emoji support for Interweave.

<Interweave
  content="This will convert emoji unicode characters (🌀), shortcodes (:cyclone:), and emoticons to SVGs! :)"
  matchers={[
    new EmojiMatcher('emoji', {
      convertEmoticon: true,
      convertShortcode: true,
    }),
  ]}
  emojiPath={getSvgPathForEmoji}
/>

Requirements

Installation

yarn add interweave interweave-emoji emojibase
// Or
npm install interweave interweave-emoji emojibase

Documentation

https://interweave.dev/docs/exts/emoji

Install

npm i interweave-emoji

DownloadsWeekly Downloads

705

Version

5.4.0

License

MIT

Unpacked Size

48.8 kB

Total Files

20

Last publish

Collaborators

  • avatar