Text color changer for Sphinx.
Project description
Text color changer for Sphinx.
Overview
This extension adds simple role to set style of text-color for HTML-based builders.
Getting started
pip install atsphinx-color-text
extensions = [
"atsphinx.color_text",
]
Usage
Write your text with :color: role.
Your title
==========
sphinx-revealjs is presentation library for Pythonista using reStructuredText and :color:red:`Sphinx`.
When you generate HTML by sphinx-build -b html , “Sphinx” rendered as red color by CSS ( likely font-color: red; ).
Notes and ToDo
I will not implements all color-names, but plan “RGB code” mode and custom name mode.
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
File details
Details for the file atsphinx_color_text-0.1.1.tar.gz
.
File metadata
- Download URL: atsphinx_color_text-0.1.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56bc551e1b34ee48d02d1f50517b73235dec09494581f9b8e3e7401ebd8804ec |
|
MD5 | c334e7f025bde072eebf1ac14bc3a88e |
|
BLAKE2b-256 | 7f757f4e357aef34d4018d7e16595578418b736be96d271fa7d172f0e5330da6 |
File details
Details for the file atsphinx_color_text-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: atsphinx_color_text-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38ff46a1952df9de7f0b126c3d13c9d17fce82060943e045fb7715619224ac78 |
|
MD5 | dc7690bff6e14ee364db4efdedb8d323 |
|
BLAKE2b-256 | 9e3e9aca30c9e2b86ce91d2089f59ae65c10a5aec46feb3f5cc83c2c4504fa90 |