Skip to main content

Text color changer for Sphinx.

Project description

https://img.shields.io/pypi/v/atsphinx-color-text.svg https://github.com/atsphinx/color-text/actions/workflows/main.yml/badge.svg

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


Download files

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

Source Distribution

atsphinx_color_text-0.1.1.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

atsphinx_color_text-0.1.1-py2.py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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