Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docute-emojify

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docute-emojify

Docute plugin for supporting GitHub style emoji within Markdown.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
115
decreased by-13.53%
Maintainers
1
Weekly downloads
 
Created
Source

docute-emojify

npm npm

Docute plugin for supporting GitHub style emoji aliases within Markdown. Requires Docute >=2.9.

Installation

Get the UMD build and place it before config.js inside your index.html file:

<script src="https://unpkg.com/docute-emojify"></script>

Then, configure the plugin within config.js.

self.$config = {
  plugins: [
    docuteEmojify(),
  ],
};

Usage

Emoji aliases will be replaced with their respective Unicode characters within your Markdown documents. For instance,

This is **Markdown** with :100: emoji support :ok_hand:

will render as

This is Markdown with 💯 emoji support 👌

All emoji aliases are scraped from the gemoji repository.

Adding Aliases

You can add additional aliases for existing emoji by providing an aliases object when you configure the plugin.

docuteEmojify({
  aliases: {
    100: 'hundo',
    thinking: [
      'thunking',
      'thonk',
    ],
  },
});

This allows you to replace :hundo: with 💯 and :thunking: or :thonk: with 🤔.

Keywords

FAQs

Package last updated on 11 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc