remark-gemoji-to-emoji
v1.1.0
Published
Transform gemoji shortcodes into emoji unicodes
Downloads
25,230
Readme
remark-gemoji-to-emoji
remark plug-in to transform gemoji shortcodes into emoji unicodes
Installation
npm:
npm install remark-gemoji-to-emoji
Usage
var remark = require('remark');
var gemojiToEmoji = require('remark-gemoji-to-emoji');
var doc = remark().use(gemojiToEmoji).processSync(':smile: :+1:');
console.log(doc);
Yields:
😄 👍
API
remark().use(gemojiToEmoji)
Transform gemoji shortcodes into emoji unicodes (like :smile:
into 😄).