jupyterlab_macaulay2
CodeMirror-based syntax highlighting for Macaulay2 in Jupyter code cells
The extension registers Macaulay2 with JupyterLab's CodeMirror language
registry, so code cells running the
Macaulay2 kernel and
files ending in .m2 are highlighted as you type.
It also highlights Macaulay2 that JupyterLab itself renders plain: macaulay2
and m2 code fences in markdown cells, whatever their case, and the
documentation the kernel emits as raw HTML, which rendermime's markdown
highlighter never sees. Both use the same language and the same theme-aware
colors as the editor.
Alongside that, it fixes a few things about how the kernel's output is laid
out: examples and nets are left-aligned, and documentation Usage: lines keep
the label and the code on one line.
Requirements
- JupyterLab >= 4.3.5
Install
To install the extension, execute:
pip install jupyterlab_macaulay2
Uninstall
To remove the extension, execute:
pip uninstall jupyterlab_macaulay2
Contributing
If you would like to contribute to this extension, please refer to the Contributing Guide.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyterlab_macaulay2-0.3.0.tar.gz.
File metadata
- Download URL: jupyterlab_macaulay2-0.3.0.tar.gz
- Upload date:
- Size: 194.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.12.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9220537f76a690ffb143eb492c03933eb4fbf6499ab80ef5196a7c571e54e5e4
|
|
| MD5 |
1e97d6b2fd05580832cd4d8ef283e882
|
|
| BLAKE2b-256 |
ae5de8007adf7a3f9c6a2fa7813d08862718745926946e3ea635eb31e9198353
|
File details
Details for the file jupyterlab_macaulay2-0.3.0-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_macaulay2-0.3.0-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.12.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29e6556ee8b6b35466e6642b0ee26773dc7fcff6e0d1fd8680c1d6fa5f560124
|
|
| MD5 |
0fd40478c3db5a8460e990aa75c2f478
|
|
| BLAKE2b-256 |
2903e64d5c8a141de35d16215aa7f924465f7dbe53d1a479e03820eeaf193a03
|