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
4,002 downloads per month
Used in deno
22KB
497 lines
dprint-plugin-jupyter
Formats code blocks in Jupyter notebook files (.ipynb
) using dprint plugins.
Install
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