##// END OF EJS Templates
Python nbconvert output shouldn't have output...
MinRK -
Show More
@@ -1,43 +1,13 b''
1 1 {%- extends 'null.tpl' -%}
2 2
3
4 3 {% block in_prompt %}
5 4 # In[{{ cell.prompt_number if cell.prompt_number else ' ' }}]:
6 5 {% endblock in_prompt %}
7 6
8 {% block output_prompt %}
9 # Out[{{ cell.prompt_number }}]:
10 {% endblock output_prompt %}
11
12 7 {% block input %}
13 8 {{ cell.input | ipython2python }}
14 9 {% endblock input %}
15 10
16 {# Those Two are for error displaying
17 even if the first one seem to do nothing,
18 it introduces a new line
19 #}
20 {% block pyerr %}
21 {{ super() }}
22 {% endblock pyerr %}
23
24 {% block traceback_line %}
25 {{ line | indent | strip_ansi }}
26 {% endblock traceback_line %}
27 {# .... #}
28
29 {% block pyout %}
30 {{ output.text or '' | indent | comment_lines }}
31 {% endblock pyout %}
32
33 {% block stream %}
34 {{ output.text | indent | comment_lines }}
35 {% endblock stream %}
36
37 {% block display_data scoped %}
38 # image file:
39 {% endblock display_data %}
40
41 11 {% block markdowncell scoped %}
42 12 {{ cell.source | comment_lines }}
43 13 {% endblock markdowncell %}
@@ -45,7 +15,3 b' it introduces a new line'
45 15 {% block headingcell scoped %}
46 16 {{ '#' * cell.level }}{{ cell.source | replace('\n', ' ') | comment_lines }}
47 17 {% endblock headingcell %}
48
49 {% block unknowncell scoped %}
50 unknown type {{ cell.type }}
51 {% endblock unknowncell %}
General Comments 0
You need to be logged in to leave comments. Login now