dprint-plugin-jupyter

Crates.iodprint-plugin-jupyter
lib.rsdprint-plugin-jupyter
version0.1.5
sourcesrc
created_at2023-11-23 23:46:10.538712
updated_at2024-10-21 16:17:48.454309
descriptionFormats code blocks in Jupyter notebooks.
homepagehttps://github.com/dprint/dprint-plugin-jupyter
repositoryhttps://github.com/dprint/dprint-plugin-jupyter
max_upload_size
id1046611
size34,220
David Sherret (dsherret)

documentation

README

dprint-plugin-jupyter

CI

Formats code blocks in Jupyter notebook files (.ipynb) using dprint plugins.

Install

Install and setup dprint.

Then in your project's directory with a dprint.json file, run:

dprint config add jupyter

Then add some additional formatting plugins to format the code blocks with. For example:

dprint config add typescript
dprint config add markdown
dprint config add ruff

If you find a code block isn't being formatted with a plugin, please verify it's not a syntax error. After, open an issue about adding support for that plugin (if you're interested in opening a PR, it's potentially an easy contribution).

Configuration

Configuration is handled in other plugins.

Commit count: 16

cargo fmt