micromark extensions to support gemoji (:+1:
)
This package contains two extensions that add support for gemoji (GitHub Emoji) syntax in markdown to
micromark
.
Gemoji are the shortcodes that GitHub uses to represent emoji. For example, :grinning:
can be used for 😀.
TODO: when should i use this?
This package is ESM only.
In Node.js (version 18+) with yarn:
yarn add @flex-development/micromark-extension-gemoji
See Git - Protocols | Yarn for details regarding installing from Git.
In Deno with esm.sh
:
import { gemoji, gemojiHtml } from 'https://esm.sh/@flex-development/micromark-extension-gemoji'
In browsers with esm.sh
:
<script type="module">
import { gemoji, gemojiHtml } from 'https://esm.sh/@flex-development/micromark-extension-gemoji'
</script>
TODO: use
TODO: api
TODO: syntax
This package is fully typed with TypeScript.
See CONTRIBUTING.md
.