QuantEcon / sphinxcontrib-jupyter

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

Sphinx crashes on code block inside itemize #29

Open nthiery opened 6 years ago

nthiery commented 6 years ago

Thank you again for the sphinx-contrib-jupyter example; it enabled me to reduce the crash I was getting on my own rest files to a minimal non working example:

Steps to reproduce:

mmcky commented 6 years ago

Thanks @nthiery. Nice bug report. Supporting directives within lists/itemize is something we will need to support.

mmcky commented 5 years ago

The tests case for lists.rst now includes embedded code-blocks. However the indentation is limited in the markdown representation, and this really only works at the moment for non-enumerated list types. The enumerated list numbering get's reset.

image