# All files / src/lib/markdown-it/patches markdown-it-emoji-fixed.js

100% Statements 12/12
100% Branches 0/0
100% Functions 0/0
100% Lines 12/12

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    16x

    16x
    16x
    16x
    16x
    16x
    16x
    16x
    16x
    16x
    16x

    16x// fix emoji numbers
    const emojiData = require('markdown-it-emoji/lib/data/full.json');
    // Extend emoji here

    // Add keycap number emoji
    emojiData['zero'] = '0️⃣';
    emojiData['one'] = '1️⃣';
    emojiData['two'] = '2️⃣';
    emojiData['three'] = '3️⃣';
    emojiData['four'] = '4️⃣';
    emojiData['five'] = '5️⃣';
    emojiData['six'] = '6️⃣';
    emojiData['seven'] = '7️⃣';
    emojiData['eight'] = '8️⃣';
    emojiData['nine'] = '9️⃣';

    module.exports = emojiData;