Show More
|
1 | NO CONTENT: modified file |
@@ -1,70 +1,81 b'' | |||
|
1 | 1 | {%- extends 'display_priority.tpl' -%} |
|
2 | 2 | {% block in_prompt -%} |
|
3 | 3 | In[{{cell.prompt_number if cell.prompt_number else ' '}}]: |
|
4 | 4 | |
|
5 | 5 | .. code:: python |
|
6 | 6 | |
|
7 | 7 | {% endblock in_prompt %} |
|
8 | 8 | |
|
9 | 9 | {% block output_prompt %}{% if cell.haspyout -%} |
|
10 | 10 | Out[{{cell.prompt_number}}]:{% endif %}{% endblock output_prompt %} |
|
11 | 11 | |
|
12 | 12 | {% block input %}{{ cell.input | indent}} |
|
13 | 13 | |
|
14 | 14 | {% endblock input %} |
|
15 | 15 | |
|
16 |
{% block pyerr %} |
|
|
16 | {% block pyerr %}:: | |
|
17 | {{ super() }} | |
|
17 | 18 | {% endblock pyerr %} |
|
18 | 19 | |
|
19 | 20 | {% block traceback_line %} |
|
20 | 21 | {{ line |indent| rm_ansi }}{% endblock traceback_line %} |
|
21 | 22 | |
|
22 | 23 | {% block pyout %} |
|
23 | .. parsed-literal:: | |
|
24 | ||
|
25 | {{ output.text| indent }} | |
|
24 | {% block data_priority scoped %}{{ super()}}{% endblock %} | |
|
26 | 25 | {% endblock pyout %} |
|
27 | 26 | |
|
28 | 27 | {% block stream %} |
|
29 | 28 | .. parsed-literal:: |
|
30 | 29 | |
|
31 | 30 | {{ output.text| indent }} |
|
32 | 31 | {% endblock stream %} |
|
33 | 32 | |
|
34 | 33 | |
|
35 | 34 | |
|
36 | 35 | |
|
37 | 36 | {% block data_svg %}.. image:: {{output.key_svg}} |
|
38 | 37 | |
|
39 | 38 | {% endblock data_svg %} |
|
40 | 39 | |
|
41 | 40 | {% block data_png %}.. image:: {{output.key_png}} |
|
42 | 41 | |
|
43 | 42 | {% endblock data_png %} |
|
44 | 43 | |
|
44 | {% block data_jpg %}..jpg image:: {{output.key_jpg}} | |
|
45 | ||
|
46 | {% endblock data_jpg %} | |
|
47 | ||
|
48 | ||
|
49 | ||
|
50 | {% block data_latex %}.. math:: | |
|
51 | ||
|
52 | {{output.latex| indent}} | |
|
53 | ||
|
54 | {% endblock data_latex %} | |
|
55 | ||
|
45 | 56 | {% block data_text scoped %}.. parsed-literal:: |
|
46 | 57 | |
|
47 | 58 | {{output.text | indent}} |
|
48 | 59 | |
|
49 | 60 | {% endblock data_text %} |
|
50 | 61 | |
|
51 | 62 | {% block markdowncell scoped %}{{ cell.source | markdown2rst }} |
|
52 | 63 | {% endblock markdowncell %} |
|
53 | 64 | |
|
54 | 65 | {% block headingcell scoped %} |
|
55 | 66 | {%- set len = cell.source|length -%} |
|
56 | 67 | {{ cell.source}} |
|
57 | 68 | {% if cell.level == 1 %} |
|
58 | 69 | {{- '=' * len }} |
|
59 | 70 | {%- elif cell.level == 2 %} |
|
60 | 71 | {{- '-' * len }} |
|
61 | 72 | {% endif %} |
|
62 | 73 | |
|
63 | 74 | {% endblock headingcell %} |
|
64 | 75 | |
|
65 | 76 | {% block rawcell scoped %}{{ cell.source }} |
|
66 | 77 | {% endblock rawcell %} |
|
67 | 78 | |
|
68 | 79 | {% block unknowncell scoped %} |
|
69 | 80 | unknown type {{cell.type}} |
|
70 | 81 | {% endblock unknowncell %} |
General Comments 0
You need to be logged in to leave comments.
Login now