Skip to main content

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`

nekochan emoji with text

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`

customize emoji height and alt text

License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_nekochan-0.1.4.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_nekochan-0.1.4-py3-none-any.whl (3.9 MB view details)

Uploaded Python 3

File details

Details for the file sphinx_nekochan-0.1.4.tar.gz.

File metadata

  • Download URL: sphinx_nekochan-0.1.4.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.14

File hashes

Hashes for sphinx_nekochan-0.1.4.tar.gz
Algorithm Hash digest
SHA256 0984723986cc018b02ffee43a1ac5c070a2854352c062d9204c45cab35e7dd7a
MD5 369dc745c0ecc1aefadd6b9129032076
BLAKE2b-256 9cc038b28ba5a0417345db83af5dd7687505da8da2ce0d0b03147ffe5369c5ea

See more details on using hashes here.

File details

Details for the file sphinx_nekochan-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_nekochan-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e3e96ddadc1e0c3b7f3af5843600888e27e8313f34ff1539021c23f2b2b1ec1a
MD5 53b2f33f6479275490df5ffffd93f562
BLAKE2b-256 d41423f0c198aa3236b06ad7e146a100337a5310bc0401cc0b60e11af9b5f46c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page