Update FAQ: Mention formatting of custom jupyter cell magic (#2982)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
This commit is contained in:
parent
fa5fd262ff
commit
421383d560
@ -57,7 +57,8 @@ _Black_ is timid about formatting Jupyter Notebooks. Cells containing any of the
|
|||||||
following will not be formatted:
|
following will not be formatted:
|
||||||
|
|
||||||
- automagics (e.g. `pip install black`)
|
- automagics (e.g. `pip install black`)
|
||||||
- non-Python cell magics (e.g. `%%writeline`)
|
- non-Python cell magics (e.g. `%%writeline`). These can be added with the flag
|
||||||
|
`--python-cell-magics`, e.g. `black --python-cell-magics writeline hello.ipynb`.
|
||||||
- multiline magics, e.g.:
|
- multiline magics, e.g.:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
Loading…
Reference in New Issue
Block a user