Skip to main content

nb_extension_tagstyler

Style Jupyter notebook cells by tag.

Binder

Content in Jupyter notebook markdown cells can be styled by adding a range of alert class attributes to divs contained within the cell.

Wouldn't it be easier if we could just tag the cell?

Currently, only alert-success (green), alert-warning (yellow), alert-danger (pink) and alert-info (blue) tags are supported. You also need to manually reload the notebook in the browser to render the styling. (TO DO: try to mod the tag entry thing so it reflows the cell styling if a cell tag is added?)

The extension also increases the notebook load time as it iterates through every cell looking for tags.

Install via:

pip install git+https://github.com/innovationOUtside/nb_extension_tagstyler.git

pip install nb_extension_tagstyler

The extension should be automatically installed and enabled.

If you need to do things manually:

jupyter nbextension uninstall tagstyler
jupyter nbextension install tagstyler --user
jupyter nbextension enable tagstyler/index

Metadata

Release files for nb-extension-tagstyler 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nb-extension-tagstyler 0.0.2
File Size Uploaded
nb_extension_tagstyler-0.0.2.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nb-extension-tagstyler 0.0.2
File Interpreter ABI Platform
nb_extension_tagstyler-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / nb_extension_tagstyler-0.0.2.tar.gz

Download URL nb_extension_tagstyler-0.0.2.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e0880db8d65c7df3ea150674e9f0b4ba8522c98c78824bd55bc06d693f3db7ad
BLAKE2b-256 checksum
How to use checksums
f06799ae7aff14291cb4a38be0cfad891572cc833fa6b0716d05f7305fdeefe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / nb_extension_tagstyler-0.0.2-py3-none-any.whl

Download URL nb_extension_tagstyler-0.0.2-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdbccd5e6c442127f29a6e4c840a3ab8bc6c286fda9b40c5a0287440f981d96b
BLAKE2b-256 checksum
How to use checksums
84a91f2fb3689ed51cfe16a60a783b676e0a3a94f7a0881cbffd37ca14f81167
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page