metakernel
metakernel copied to clipboard
Spaces removed from beginning of output for bash shell
It seems like leading spaces for the output of a cell in a Bash notebook are trimmed for the first line but not the remaining lines:
Jupyter Bash notebook version information:
About Jupyter Notebook
Server Information:You are using Jupyter notebook.
The version of the notebook server is 5.0.0 and is running on:Python 3.4.5 (default, May 29 2017, 15:17:55) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
Current Kernel Information:
MetaKernel Bash - interact with bash
However, this is not the case for Python notebooks:
Jupyter Python notebook information:
About Jupyter Notebook
Server Information:You are using Jupyter notebook.
The version of the notebook server is 5.0.0 and is running on:Python 3.4.5 (default, May 29 2017, 15:17:55) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
Current Kernel Information:
Python 3.4.5 (default, May 29 2017, 15:17:55) Type 'copyright', 'credits' or 'license' for more information IPython 6.1.0 -- An enhanced Interactive Python. Type '?' for help.