Style classic notebook cells according to simple bootstrap style cell tags.
Project description
nb_extension_tagstyler
Style Jupyter notebook cells by tag.
Content in Jupyter notebook markdown cells can be styled by adding a range of alert
class attributes to div
s 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
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
Hashes for nb_extension_tagstyler-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0880db8d65c7df3ea150674e9f0b4ba8522c98c78824bd55bc06d693f3db7ad |
|
MD5 | c888fa1a918a52846f7434b1b5ab5d2b |
|
BLAKE2b-256 | f06799ae7aff14291cb4a38be0cfad891572cc833fa6b0716d05f7305fdeefe1 |
Hashes for nb_extension_tagstyler-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdbccd5e6c442127f29a6e4c840a3ab8bc6c286fda9b40c5a0287440f981d96b |
|
MD5 | 26b4ad86ea2b86ab6c468bff305bce37 |
|
BLAKE2b-256 | 84a91f2fb3689ed51cfe16a60a783b676e0a3a94f7a0881cbffd37ca14f81167 |