Skip to content

scrollback/remarkable-emoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remarkable-emoji

A plugin to add emoji support for Remarkable. The plugin can translate all emojis and most common emoticons to their unicode characters. It can be used in combination with client-side libraries such as Twitter's Twemoji to generate cross platform image based emojis.

Installation

This plugin can be installed via npm.

    npm install remarkable-emoji

Usage

    var Remarkable = require('remarkable');
    var remarkable-emoji = require('remarkable-emoji');
    var md = new Remarkable();
    
    md.use(remarkable-emoji);
    
    md.render("# I :laughing: when I am :)");

This plugin can be used in combination with Twemoji as such:

    var renderedText = twemoji.parse(md.render("This is an airplane :airplane:"));
    console.log(renderedText);

About

An emoji plugin for Remarkable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published