QuantEcon / sphinxcontrib-jupyter

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

TEST: Add rst2ipynb test for code_blocks rst and expected output #37

Closed mmcky closed 6 years ago

mmcky commented 6 years ago

This adds a test from the rst2ipynb project for code_blocks.rst. Adding this test has triggered a review of how code-blocks should be handled. See #35.

mmcky commented 6 years ago

For the time being we will simply include whatever is found in the code-block without any additional parsing. It should give users the most expected output. If they wish to have code in different In blocks they will need to use different code-block directives sequentially.