A Sphinx extension for adding the Nekochan(cat) emoji to documents.
See the sphinx-nekochan documantation for more details.
You can install sphinx-nekochan
with pip
:
pip install sphinx-nekochan
In your conf.py
configuration file, add sphinx_nekochan
to your extensions list:
extensions = [
...
"sphinx_nekochan",
...
]
When you use the nekochan
roll, you will see any nekochan emoji.
- markdown
Welcome to nekochan emoji {nekochan}`banzai` world!!
* Enjoy nekochan emoji {nekochan}`choo-choo-train`
* I love {nekochan}`beer`
- reStructuredText
Welcome to nekochan emoji :nekochan:`banzai` world!!
* Enjoy nekochan emoji :nekochan:`choo-choo-train`
* I love :nekochan:`beer`
You can specify height and alt text with a semicolon(;
) after the name of the nekochan
role.
- markdown
* Big bear nekochan {nekochan}`kuma-nya;2em`
* Huge hot-sprint nekochan {nekochan}`hot-spring;128px`
* Customize alt text for emoji {nekochan}`gohan-taberu;3em;Nekochan eating rice ball`
- reStructuredText
* Big bear nekochan :nekochan:`kuma-nya;2em`
* Huge hot-sprint nekochan :nekochan:`hot-spring;128px`
* Customize alt text for emoji :nekochan:`gohan-taberu;3em;Nekochan eating rice ball`
- sphinx-nekochan is licensed under the MIT License.
- Please refer to the following guidelines for using Nekochan emojis.