Show More
@@ -1,37 +1,37 b'' | |||
|
1 | 1 | {%- extends 'basic.tpl' -%} |
|
2 | 2 | |
|
3 | 3 | {% block codecell scoped %} |
|
4 | 4 | # In[{{cell.prompt_number if cell.prompt_number else ' '}}]: |
|
5 | 5 | {{ cell.input }} |
|
6 | 6 | {% if cell.outputs %} |
|
7 | 7 | # Out[{{cell.prompt_number}}]: |
|
8 | 8 | {%- for output in cell.outputs -%} |
|
9 | {% if output.output_type in ['pyout','stream']%} | |
|
9 | {%- if output.output_type in ['pyout','stream']%} | |
|
10 | 10 | {{ output.text| indent | pycomment}} |
|
11 | {% elif output.output_type in ['display_data'] %} | |
|
12 | {{"# fucking display_data"}} | |
|
13 | {% elif output.output_type in ['pyerr'] %} | |
|
14 | {% for line in output.traceback %} | |
|
11 | {%- elif output.output_type in ['display_data'] %} | |
|
12 | {{"# image file: fucking display_data"}} | |
|
13 | {%- elif output.output_type in ['pyerr'] %} | |
|
14 | {%- for line in output.traceback %} | |
|
15 | 15 | {{ line |indent| rm_ansi}} |
|
16 | {%- endfor %} | |
|
17 | {%- endif %} | |
|
16 | 18 | {%- endfor -%} |
|
17 |
|
|
|
18 | {%- endfor -%} | |
|
19 | {%endif%} | |
|
19 | {% endif %} | |
|
20 | 20 | |
|
21 | 21 | {% endblock codecell %} |
|
22 | 22 | |
|
23 | 23 | {% block markdowncell scoped %} |
|
24 | 24 | {{ cell.source | pycomment | rm_fake}} |
|
25 | 25 | {% endblock markdowncell %} |
|
26 | 26 | |
|
27 | 27 | {% block headingcell scoped %} |
|
28 | 28 | {{ '#' * cell.level }}{{ cell.source | pycomment}} |
|
29 | 29 | {% endblock headingcell %} |
|
30 | 30 | |
|
31 | 31 | {% block rawcell scoped %} |
|
32 | 32 | {{ cell.source | pycomment }} |
|
33 | 33 | {% endblock rawcell %} |
|
34 | 34 | |
|
35 | 35 | {% block unknowncell scoped %} |
|
36 | 36 | unknown type {{cell.type}} |
|
37 | 37 | {% endblock unknowncell %} |
General Comments 0
You need to be logged in to leave comments.
Login now