Skip to content

TaQini/docsify-twemoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

docsify-twemoji

Image

Parse twitter style emoji in your docs. Chinese docs: 中文文档

Feature of twemoji

  • parse unicode emoji instead of :tag:
  • large amount of emoji supported even full emoji

Demo

You can see the demo of docsify-twemoji here

The demo site has also installed another plugins docsify-livere

Image

Install

Add the docsify-twemoji plugin to your index.html after docsify.

<!-- twemoji -->
<script src="//cdn.jsdelivr.net/gh/TaQini/docsify-twemoji@master/twemoji.min.js"></script>

Then include the following js code in the appropriate location on the index.html

  window.$docsify = {
      plugins: [
        function (hook, vm) {
          // parse twemoji
          hook.doneEach(function() {
              twemoji.parse(document);
          });
        },
      ]
  }

Usage

You can find various of emoji from here or other place.

Image

Click the button to copy unicode of emoji to your clip board and then paste it into your docs.

For example 😀 will be parsed to happy

About

parse all emoji in style of twitter emoji for docsify

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors