Jupyter nbextension to outline 3 course levels through colors
Project description
courselevels
Jupyter notebook extension for
- background colouring of cells (3 predefined colors)
- creating framed cells
UI
Three buttons are provided that toggle the colour of selected cells (1 finger = basic, 2 fingers = intermediate, 4 fingers = advanced/expert) In addition a button allows to add/remove a frame around the selected cells
This is designed for flagging course contents, so that students can better navigate it; color code is as follows
- basic (green)
- intermediate (blue)
- advanced/expert (red)
see an example in examples/README
config
Can be customized through the nbextensions-configurator panel Also the following actions can be attached to keyboard sohrtcuts using Jupyter's shortcuts editor
- courselevels:toggle-basic
- courselevels:toggle-intrmediate
- courselevels:toggle-advanced
- courselevels:toggle-frame
installation
Install via:
pip install nb-courselevels
The extension should be automatically installed and enabled.
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
Built Distribution
File details
Details for the file nb-courselevels-0.5.1.tar.gz
.
File metadata
- Download URL: nb-courselevels-0.5.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02f60f3a6443856c16367572ab79921c2f59daa9cb8af8d9ae5867c8428c141f |
|
MD5 | adde46753fec478c5d008ffe3d229b37 |
|
BLAKE2b-256 | af495ccb1e6c3787434df91df43c1ca26bed8ac136d9593c37c5616530c028c9 |
File details
Details for the file nb_courselevels-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: nb_courselevels-0.5.1-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b910ebda06be4b46684dc317b0672a578a5e8311eaf461ea62bb1b1357927537 |
|
MD5 | 6205d08cd43020068ee90c12bfafb101 |
|
BLAKE2b-256 | eff3de3494157fcbdf921161932bc3d7e5a8450480164ddbdd67585dcc8ed091 |