interweave-emoji
TypeScript icon, indicating that this package has built-in type declarations

7.0.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

/interweave-emoji/

    Package Sidebar

    Install

    npm i interweave-emoji

    Weekly Downloads

    242

    Version

    7.0.0

    License

    MIT

    Unpacked Size

    101 kB

    Total Files

    34

    Last publish

    Collaborators

    • milesj