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

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

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.

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

Watchers

Forks

Releases

No releases published

Packages

No packages published