Skip to content

An extension to use emoji codes in your Sphinx documentation! 😍

Notifications You must be signed in to change notification settings

gousaiyang/emojicodes

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sphinx Emoji Codes

An extension to use emoji codes in your Sphinx documentation!

pip install sphinxemoji

Usage

Enable the Sphinx extension(s) in your conf.py file:

extensions = [
    '...',
    'sphinxemoji.sphinxemoji',
]

Then you can use emoji code replacements by writing them between bars:

This text includes a smiley face |:smile:| and a snake too! |:snake:|

Don't you love it? |:heart_eyes:|

If you want a consistent emoji style, you can set it in your conf.py file:

sphinxemoji_style = 'twemoji'

You can find the list of all supported emoji codes in the project's documentation page.

Notes

Emoji substitutions are processed after default substitutions like |release|, |version| and |today|, but before any other substitutions in source files (i.e. emoji substitutions can be overriden).

About

An extension to use emoji codes in your Sphinx documentation! 😍

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.5%
  • JavaScript 6.5%
  • CSS 2.0%