You can use emoji within any Jekyll page or post, just like you would in a comment or issue within a repository.
Setting up
To enable emoji, you must add the following line to your site's _config.yml
file:
gems:
- jemoji
If you don't have a _config.yml
file, you will need to create one in the root of your GitHub Enterprise Pages repository. For more information, see the Jekyll documentation.
The GitHub Pages website lists the exact versions of the plugins used by the GitHub Enterprise Pages server.
Usage
Use emoji within your Jekyll posts or pages as you would elsewhere on your GitHub Enterprise instance.
Testing locally
To preview the output of emoji locally:
- Add
jemoji
to your site's_config.yml
file - Make sure you're using the latest version of the GitHub Pages Gem
Emoji are currently only supported in the page and post body. Emoji within includes, layouts, and other sources of content may not render properly.
For more information, see The Jemoji Gem.