5 releases

0.1.3 Feb 23, 2024
0.1.2 Nov 27, 2023
0.1.1 Nov 24, 2023
0.1.0 Nov 24, 2023
0.0.1 Nov 23, 2023

#110 in Value formatting

Download history 479/week @ 2023-12-23 709/week @ 2023-12-30 706/week @ 2024-01-06 706/week @ 2024-01-13 804/week @ 2024-01-20 948/week @ 2024-01-27 827/week @ 2024-02-03 852/week @ 2024-02-10 966/week @ 2024-02-17 912/week @ 2024-02-24 1232/week @ 2024-03-02 1045/week @ 2024-03-09 804/week @ 2024-03-16 875/week @ 2024-03-23 1472/week @ 2024-03-30 720/week @ 2024-04-06

4,002 downloads per month
Used in deno

MIT license

22KB
497 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

~1.8–2.8MB
~58K SLoC