7 releases

0.1.5 Oct 21, 2024
0.1.4 May 27, 2024
0.1.3 Feb 23, 2024
0.1.2 Nov 27, 2023
0.0.1 Nov 23, 2023

#116 in Value formatting

Download history 818/week @ 2024-08-17 976/week @ 2024-08-24 1035/week @ 2024-08-31 1142/week @ 2024-09-07 798/week @ 2024-09-14 880/week @ 2024-09-21 920/week @ 2024-09-28 1400/week @ 2024-10-05 1685/week @ 2024-10-12 1386/week @ 2024-10-19 1495/week @ 2024-10-26 1036/week @ 2024-11-02 993/week @ 2024-11-09 978/week @ 2024-11-16 986/week @ 2024-11-23 1019/week @ 2024-11-30

4,110 downloads per month
Used in 8 crates (5 directly)

MIT license

23KB
552 lines

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.

Dependencies

~2–3MB
~63K SLoC