QuantEcon / sphinxcontrib-jupyter

A Sphinx Extension for Generating Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
76 stars 23 forks source link

Improved support for nested code blocks #63

Closed nthiery closed 6 years ago

nthiery commented 6 years ago

Bug fix from @ocayrol, tests adapted from rst2ipynb.

Note: the output could possibly be further improved.

mmcky commented 6 years ago

thanks @nthiery and @ocayrol this is a nice addition.

nthiery commented 6 years ago

I don't really have an opinion for how far to support litigious code-blocks. Presumably the best is to just leave the decision to Sphinx, and just double check that the produced output is consistent with the other formats.

Btw: thanks for your quick feedback and integration!

mmcky commented 6 years ago

Thanks @nthiery I will merge this as is. I'm in favour of conforming to RST spec to keep things simple.