A MIME-type plugin for rendering JSON output from Jupyter notebooks to HTML
Project description
MyST-NB JSON
A MIME-type plugin for rendering JSON output from Jupyter notebooks to HTML
Outputs from Jupyter notebook code cells usually contain representations in one or multiple MIME types (image, text…). IPython provides multiple built-in output types, but not all of them have a representation for HTML, and fall back to a stringified version of the Python object.
This is the case for the application/json
type:
It is nicely rendered in Jupyter because Jupyter includes a
JSON renderer,
but MyST-NB can only use IPython's built-ins which display as
<IPython.core.display.JSON object>
.
Jupyter Lab
MyST-NB without plugin
MyST-NB with myst-nb-json plugin
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 myst_nb_json-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cccdbb38ab661391b88b2f4c2bd338dc097c07e6ac2a994e362943e10811be6 |
|
MD5 | d8528105f8deb39dff7f96c574a0151b |
|
BLAKE2b-256 | 53a3546666b09f24382decc2ee3b103cd7fee25b1e49c9f70925c8ad20844d0e |