remark-plugin-twemoji

1.0.1 • Public • Published

remark-plugin-twemoji

Remark plugin to replace your emoji with twemoji.

Install

# npm
npm install remark-plugin-twemoji
# yarn
yarn add remark-plugin-twemoji

Usage

This plugin accepts an option prop, valid options are listed here.

  1. Next.js Site
// next.config.js
const withMDX = require("@next/mdx")({
  options: {
    remarkPlugins: [require("remark-plugin-twemoji")],
  },
});
module.exports = withMDX();
  1. Gatsby Site
// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-mdx`,
      options: {
        remarkPlugins: [require(`remark-plugin-twemoji`)],
      },
    },
  ],
};

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i remark-plugin-twemoji

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

3.77 kB

Total Files

4

Last publish

Collaborators

  • johnletey