Home

Awesome

docsify-twemoji

Parse twitter style emoji in your docs. Chinese docs: δΈ­ζ–‡ζ–‡ζ‘£

Feature of twemoji

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 <img src="https://twemoji.maxcdn.com/v/12.1.5/72x72/1f600.png" alt="happy" style="zoom:25%;" />