From: Jan-Hendrik Müller <44469195+kolibril13@users.noreply.github.com> Date: Tue, 5 Apr 2022 01:24:16 +0000 (+0200) Subject: Update FAQ: Mention formatting of custom jupyter cell magic (#2982) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/421383d5607da1191eaf3682750278750ea33d91?ds=sidebyside Update FAQ: Mention formatting of custom jupyter cell magic (#2982) Co-authored-by: Jelle Zijlstra Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com> --- diff --git a/docs/faq.md b/docs/faq.md index 70f9b51..a5919a3 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -57,7 +57,8 @@ _Black_ is timid about formatting Jupyter Notebooks. Cells containing any of the following will not be formatted: - 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.: ```python