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

#111 in Value formatting

Download history 1506/week @ 2024-10-25 1152/week @ 2024-11-01 1026/week @ 2024-11-08 970/week @ 2024-11-15 939/week @ 2024-11-22 944/week @ 2024-11-29 1263/week @ 2024-12-06 1244/week @ 2024-12-13 837/week @ 2024-12-20 794/week @ 2024-12-27 1039/week @ 2025-01-03 1469/week @ 2025-01-10 1524/week @ 2025-01-17 1171/week @ 2025-01-24 1144/week @ 2025-01-31 941/week @ 2025-02-07

5,047 downloads per month
Used in 6 crates (4 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
~62K SLoC