Code Monkey home page Code Monkey logo

metalsmith-emoji's Introduction

metalsmith-emoji

GitHub issues license node Greenkeeper badge Build Status

A Metalsmith plugin to process emoji and convert emoji shortnames, using the EmojiOne list.

Installation

$ npm install metalsmith-emoji

Usage

This plugin will only process emoji in markdown and HTML files by default. This can be changed through the pattern option below, which takes an array of minimatch patterns.

If you want the emoji to be images (PNG) instead of Unicode characters, set convertToImages to true.

Deprecated: If you don't want the plugin to convert shortnames (like :smile:) to actual emoji, set processShortnames to false.

Default Options

{
    pattern: ["**/*.md", "**/*.markdown", "**/*.html", "**/*.htm"],
    convertToImages: false
}

Example

var emoji = require('metalsmith-emoji');

metalsmith.use(emoji({
  pattern: ["**/*.md", "**/*.markdown", "**/*.html", "data/*"],
  convertToImages: true
}));

metalsmith-emoji's People

Contributors

greenkeeper[bot] avatar renovate-bot avatar renovate[bot] avatar tech4him1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

metalsmith-emoji's Issues

An in-range update of emojione is breaking the build 🚨

Version 3.1.1 of emojione just got published.

Branch Build failing 🚨
Dependency emojione
Current Version 3.1.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

emojione is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes 3.1.1 Library Patch

This release includes several bugfixes and updates, including:

  • fix for cdn path on toImage conversion not setting properly
  • updates to emoji.json file structure - additions only (see UPGRADE.md for current structure)
Commits

The new version differs by 5 commits.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Add tests.

The plugin really should have tests, at least before 1.0.

Contributions welcome!

An in-range update of emojione is breaking the build 🚨

Version 3.1.5 of emojione was just published.

Branch Build failing 🚨
Dependency [emojione](https://github.com/emojione/emojione)
Current Version 3.1.4
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

emojione is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes 3.1.5 Library Patch

This update expands code points for dozens of emojis to improve matching against singletons containing emoji modifier sequence (vs16).

Commits

The new version differs by 6 commits.

  • 168b9e0 3.1.5 release
  • 97b3ad8 updated readmes for v2 removal
  • 88d55bf updated readmes for v2 removal
  • 598cc76 updated readmes for v2 removal
  • d573880 Merge pull request #566 from EvanPurkhiser/macos-install
  • 00c5761 Update Mac OS install instructions

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.