##// END OF EJS Templates
Backport PR #8132: Only split lines on text output...
Backport PR #8132: Only split lines on text output rather than all mime-types, which includes b64 output. This doesn't change how files are read, so it is still valid for any mime-type data to be split on disk. It just changes which mime-types IPython.nbformat splits on write. /cc @shoyer who reported the issue on twitter

File last commit:

r18596:2d590459
r20969:3fd3a58b
Show More
python.tpl
17 lines | 370 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'null.tpl' -%}
{% block header %}
# coding: utf-8
{% endblock header %}
{% block in_prompt %}
# In[{{ cell.execution_count if cell.execution_count else ' ' }}]:
{% endblock in_prompt %}
{% block input %}
{{ cell.source | ipython2python }}
{% endblock input %}
{% block markdowncell scoped %}
{{ cell.source | comment_lines }}
{% endblock markdowncell %}