sphinxcontrib-jupyter
sphinxcontrib-jupyter copied to clipboard
Indentation with Non-Executing Code
trafficstars
See below for an example in the Julia Essentials lecture. It appears the no-execute flag puts an extra level of indentation on the text. Just wanted to confirm that this is desired behavior.
Code
.. code-block:: julia
typeof(x)
An immutable object is one that cannot be altered once it resides in memory
In particular, tuples do not support item assignment:
.. code-block:: julia
:class: no-execute
x[1] = 42
Output
cc: @mmcky, etc.
@arnavs it should add it as markdown in the notebook but probably not indented.