Sphido logo

@sphido/emoji

Sphido extender that add support for https://twemoji.twitter.com/

Install

yarn add @sphido/emoji

Example

import globby from 'globby' 
import {getPages} from '@sphido/core';
import {frontmatter} from '@sphido/frontmatter';
import {emoji} from '@sphido/twemoji';
import {meta} from '@sphido/meta'; 
import {markdown} from '@sphido/markdown';

(async () => {

    const posts = await getPages(
        await globby('packages/**/*.md'),
        ...[
            frontmatter,
            emoji,
            markdown,
            meta,
       ]
    );

})();

Reference

Source codes

https://github.com/sphido/sphido/tree/master/packages/sphido-emoji