Skip to main content

Run `black` on python code blocks in documentation files (also for jupyterbook)

Project description

blacken-docs-jb

Extension of blancken-docs which also supports the executable code blocks from JupyterBook e.g

```{code-cell} python
x = 1 + 2
```

install

pip install blacken-docs-jb

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

blacken_docs_jb-0.5.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

blacken_docs_jb-0.5.1-py2.py3-none-any.whl (4.3 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