I tend to use IPython shell examples rather than the plain Python console, and I'd like blacken-docs to format them, e.g.
.. code-block:: ipython
- In [1]: print('Hello World')
+ In [1]: print("Hello World")
Hello World
In [2]: print(
- ...: 'Hello World'
+ ...: "Hello World"
...: )
Hello World
Would this be an accepted feature? Happy to give it a shot if so.
I tend to use IPython shell examples rather than the plain Python console, and I'd like blacken-docs to format them, e.g.
Would this be an accepted feature? Happy to give it a shot if so.