Skip to content

Multiple outputs are ignored in IPython notebooks

When rendering a Jupyter/IPython notebook, only one output block is shown for every code block.

For each code block, there might be multiple output blocks - stdout blocks, images, and finally an execution result block. It seems that GitLab only shows the execution result block if it is present, and the first stdout/image block if no execution result block exists.

I have set up a repository with a notebook illustrating the issue. Currently, the problem appears both on GitLab.com and my server running GitLab CE:

How it looks like

gitlab-20170506

This also illustrates the problem with inline LaTeX tracked by issue #30900 (closed).

How it should look like

This is how it looks like in the Jupyter notebook.

jupyter-20170506