Add a python prompt toggle to each code cell.
Reason this release was yanked:
bad changelog
Project description
sphinx-toggleprompt
Sphinx-toggleprompt
adds a button to Python code blocks to
toggle >>>
prompts and remove output lines. It's copied
from the official Python docs theme.
See the documentation.
Installation and Usage
You can install sphinx-toggleprompt
with pip
:
pip install sphinx-toggleprompt
In your conf.py
configuration file, add sphinx_toggleprompt
to your extensions list.
extensions = [
...
'sphinx_toggleprompt',
...
]
Usage with sphinx-copybutton
sphinx-toggleprompt
works well with sphinx-copybutton
- see
the documentation.
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
Close
Hashes for sphinx-toggleprompt-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b7484bb94a4a5a922d3ecf8048dbef71843dc5c611517965fb408add84c7f4a |
|
MD5 | b43738414e0b88eddd0038a056cc69d2 |
|
BLAKE2b-256 | a319f4d2dcb2d978014bf728a8b764b73199e616740a3d79003bf0ee74a76189 |
Close
Hashes for sphinx_toggleprompt-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56560e2f1957093ff0dbcd66e25f0af06d5dfc2b9dd27f5cc1dc21d358fdc591 |
|
MD5 | 3c858ab642dcc983db846f25d98c592d |
|
BLAKE2b-256 | cca318b43a965368a2179608a74b447e6384eca36d9efeec7407813e2f2f258f |