A Sphinx extension for adding the Nekochan(cat) emoji to documents.
Project description
sphinx-nekochan
A Sphinx extension for adding the Nekochan(cat) emoji to documents.
See the sphinx-nekochan documantation for more details.
Installation
You can install sphinx-nekochan with pip:
pip install sphinx-nekochan
Enable extension
In your conf.py configuration file, add sphinx_nekochan to your extensions list:
extensions = [
...
"sphinx_nekochan",
...
]
Use nekochan role
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`
Customize emoji height and alt text
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`
License
- sphinx-nekochan is licensed under the MIT License.
- Please refer to the following guidelines for using Nekochan emojis.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_nekochan-0.1.5.tar.gz.
File metadata
- Download URL: sphinx_nekochan-0.1.5.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4580f936bd92f52605b4353e1081a0c5cc1a7c6648ba7c31f92af465984101e
|
|
| MD5 |
a8a68e525b9e0af4d6c6d80dd23649ed
|
|
| BLAKE2b-256 |
d7e33cd7c97eaa8897c203e3c60b26190fa45fb4d1ffa59750e23ff68e1d3f09
|
File details
Details for the file sphinx_nekochan-0.1.5-py3-none-any.whl.
File metadata
- Download URL: sphinx_nekochan-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac9ea58664b34752d426738145433fa4041e7eafef2d1581aecaf201af897829
|
|
| MD5 |
74e977cea315419e870968e514bddb5f
|
|
| BLAKE2b-256 |
b249fe4f6e86cf19a326701be8add94c65f772e4c2017805cac71ea580954d08
|