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