npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

interweave-emoji

4.1.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 --save

Documentation

https://milesj.gitbook.io/interweave

install

npm i interweave-emoji

Downloadsweekly downloads

194

version

4.1.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability