Closed keewis closed 4 years ago
this looks good enough for a merge to me, but I'll wait a few days to re-evaluate. Also, I'm skipping cell decorators (since that's kind of difficult to parse) and the indentation level issue (but maybe we could make the depth configurable).
Some experiments for free time: replace the code for extracting ipython
prompt code with the ipython
module (or whatever the ipython sphinx extension uses).
the cell decorator works, so I guess everything else can be left for new PRs
This introduces formatting support for code in rst blocks.
There are still some issues:
blackdoc
doesn't search for*.rst
files~!
,@
,%
): works, but might be fragile