Show More
@@ -1,139 +1,143 b'' | |||||
1 | {%- extends 'display_priority.tpl' -%} |
|
1 | {%- extends 'display_priority.tpl' -%} | |
2 |
|
2 | |||
3 |
|
3 | |||
4 |
|
4 | |||
5 | {% block codecell %} |
|
5 | {% block codecell %} | |
6 | <div class="cell border-box-sizing code_cell vbox"> |
|
6 | <div class="cell border-box-sizing code_cell vbox"> | |
7 | {{ super() }}</div> |
|
7 | {{ super() }}</div> | |
8 | {%- endblock codecell %} |
|
8 | {%- endblock codecell %} | |
9 |
|
9 | |||
10 | {% block input_group -%} |
|
10 | {% block input_group -%} | |
11 | <div class="input hbox"> |
|
11 | <div class="input hbox"> | |
12 | {{super()}} |
|
12 | {{super()}} | |
13 | </div> |
|
13 | </div> | |
14 | {% endblock input_group %} |
|
14 | {% endblock input_group %} | |
15 |
|
15 | |||
16 |
{% block output |
|
16 | {% block output_group %} | |
17 | <div class="output vbox"> |
|
|||
18 | {{ super() }} |
|
|||
19 | </div> |
|
|||
20 | {% endblock outputs %} |
|
|||
21 |
|
||||
22 | {% block output_group -%} |
|
|||
23 | <div class="vbox output_wrapper"> |
|
17 | <div class="vbox output_wrapper"> | |
24 |
<div class=" |
|
18 | <div class="output vbox"> | |
25 | {{ super() }} |
|
19 | {{ super() }} | |
26 | </div> |
|
20 | </div> | |
27 | </div> |
|
21 | </div> | |
28 | {% endblock output_group %} |
|
22 | {% endblock output_group %} | |
29 |
|
23 | |||
30 |
|
||||
31 | {% block in_prompt -%} |
|
24 | {% block in_prompt -%} | |
32 | <div class="prompt input_prompt">In [{{cell.prompt_number}}]:</div> |
|
25 | <div class="prompt input_prompt">In [{{cell.prompt_number}}]:</div> | |
33 | {%- endblock in_prompt %} |
|
26 | {%- endblock in_prompt %} | |
34 |
|
27 | |||
35 | {% block output_prompt -%} |
|
28 | {# | |
36 | <div class="prompt output_prompt"> |
|
29 | output_prompt doesn't do anything in HTML, | |
37 | {%- if cell.haspyout -%} |
|
30 | because there is a prompt div in each output area (see output block) | |
38 | Out[{{cell.prompt_number}}]: |
|
31 | #} | |
39 | {%- endif -%} |
|
32 | {% block output_prompt %} | |
40 | </div> |
|
|||
41 | {% endblock output_prompt %} |
|
33 | {% endblock output_prompt %} | |
42 |
|
34 | |||
43 | {% block input %} |
|
35 | {% block input %} | |
44 | <div class="input_area box-flex1"> |
|
36 | <div class="input_area box-flex1"> | |
45 | {{cell.input | highlight }} |
|
37 | {{cell.input | highlight }} | |
46 | </div> |
|
38 | </div> | |
47 | {%- endblock input %} |
|
39 | {%- endblock input %} | |
48 |
|
40 | |||
|
41 | {% block output %} | |||
|
42 | <div class="hbox output_area"> | |||
|
43 | {%- if output.output_type == 'pyout' -%} | |||
|
44 | <div class="prompt output_prompt"> | |||
|
45 | Out[{{cell.prompt_number}}]: | |||
|
46 | {%- else -%} | |||
|
47 | <div class="prompt"> | |||
|
48 | {%- endif -%} | |||
|
49 | </div> | |||
|
50 | {{ super() }} | |||
|
51 | </div> | |||
|
52 | {% endblock output %} | |||
49 |
|
53 | |||
50 | {% block markdowncell scoped %} |
|
54 | {% block markdowncell scoped %} | |
51 | <div class="text_cell_render border-box-sizing rendered_html"> |
|
55 | <div class="text_cell_render border-box-sizing rendered_html"> | |
52 | {{ cell.source | markdown| rm_fake}} |
|
56 | {{ cell.source | markdown| rm_fake}} | |
53 | </div> |
|
57 | </div> | |
54 | {%- endblock markdowncell %} |
|
58 | {%- endblock markdowncell %} | |
55 |
|
59 | |||
56 | {% block headingcell scoped %} |
|
60 | {% block headingcell scoped %} | |
57 | <div class="text_cell_render border-box-sizing rendered_html"> |
|
61 | <div class="text_cell_render border-box-sizing rendered_html"> | |
58 | <h{{cell.level}}> |
|
62 | <h{{cell.level}}> | |
59 |
{% |
|
63 | {% set source = cell.source | replace(' ','_') %} | |
60 | <a class="heading-anchor" id="{{source}}" href="#{{source}}"> |
|
64 | <a class="heading-anchor" id="{{source}}" href="#{{source}}"> | |
61 | {{cell.source}} |
|
65 | {{cell.source}} | |
62 | </a> |
|
66 | </a> | |
63 | </h{{cell.level}}> |
|
67 | </h{{cell.level}}> | |
64 | </div> |
|
68 | </div> | |
65 | {% endblock headingcell %} |
|
69 | {% endblock headingcell %} | |
66 |
|
70 | |||
67 | {% block rawcell scoped %} |
|
71 | {% block rawcell scoped %} | |
68 | {{ cell.source }} |
|
72 | {{ cell.source }} | |
69 | {% endblock rawcell %} |
|
73 | {% endblock rawcell %} | |
70 |
|
74 | |||
71 | {% block unknowncell scoped %} |
|
75 | {% block unknowncell scoped %} | |
72 | unknown type {{cell.type}} |
|
76 | unknown type {{cell.type}} | |
73 | {% endblock unknowncell %} |
|
77 | {% endblock unknowncell %} | |
74 |
|
78 | |||
75 |
|
79 | |||
76 | {% block pyout -%} |
|
80 | {% block pyout -%} | |
77 | <div class="box-flex1 output_subarea output_pyout"> |
|
81 | <div class="box-flex1 output_subarea output_pyout"> | |
78 | {% block data_priority scoped %}{{ super()}}{% endblock %} |
|
82 | {% block data_priority scoped %}{{ super()}}{% endblock %} | |
79 | </div> |
|
83 | </div> | |
80 | {%- endblock pyout %} |
|
84 | {%- endblock pyout %} | |
81 |
|
85 | |||
82 | {% block stream_stdout -%} |
|
86 | {% block stream_stdout -%} | |
83 | <div class="box-flex1 output_subarea output_stream output_stdout"> |
|
87 | <div class="box-flex1 output_subarea output_stream output_stdout"> | |
84 | <pre>{{output.text |ansi2html}}</pre> |
|
88 | <pre>{{output.text |ansi2html}}</pre> | |
85 | </div> |
|
89 | </div> | |
86 | {%- endblock stream_stdout %} |
|
90 | {%- endblock stream_stdout %} | |
87 |
|
91 | |||
88 | {% block stream_stderr -%} |
|
92 | {% block stream_stderr -%} | |
89 | <div class="box-flex1 output_subarea output_stream output_stderr"> |
|
93 | <div class="box-flex1 output_subarea output_stream output_stderr"> | |
90 | <pre>{{output.text |ansi2html}}</pre> |
|
94 | <pre>{{output.text |ansi2html}}</pre> | |
91 | </div> |
|
95 | </div> | |
92 | {%- endblock stream_stderr %} |
|
96 | {%- endblock stream_stderr %} | |
93 |
|
97 | |||
94 | {% block data_svg -%} |
|
98 | {% block data_svg -%} | |
95 | {{output.svg}} |
|
99 | {{output.svg}} | |
96 | {%- endblock data_svg %} |
|
100 | {%- endblock data_svg %} | |
97 |
|
101 | |||
98 |
|
102 | |||
99 | {% block data_html -%} |
|
103 | {% block data_html -%} | |
100 | <div class="output_html rendered_html"> |
|
104 | <div class="output_html rendered_html"> | |
101 | {{output.html}} |
|
105 | {{output.html}} | |
102 | </div> |
|
106 | </div> | |
103 | {%- endblock data_html %} |
|
107 | {%- endblock data_html %} | |
104 |
|
108 | |||
105 | {% block data_png %} |
|
109 | {% block data_png %} | |
106 | <img src="data:image/png;base64,{{output.png}}"> |
|
110 | <img src="data:image/png;base64,{{output.png}}"> | |
107 | {%- endblock data_png %} |
|
111 | {%- endblock data_png %} | |
108 |
|
112 | |||
109 |
|
113 | |||
110 | {% block data_jpg %} |
|
114 | {% block data_jpg %} | |
111 | <img src="data:image/jpeg;base64,{{output.jpeg}}"> |
|
115 | <img src="data:image/jpeg;base64,{{output.jpeg}}"> | |
112 | {%- endblock data_jpg %} |
|
116 | {%- endblock data_jpg %} | |
113 |
|
117 | |||
114 |
|
118 | |||
115 | {% block data_latex %} |
|
119 | {% block data_latex %} | |
116 | {{output.latex}} |
|
120 | {{output.latex}} | |
117 | {%- endblock data_latex %} |
|
121 | {%- endblock data_latex %} | |
118 |
|
122 | |||
119 | {% block pyerr -%} |
|
123 | {% block pyerr -%} | |
120 | <div class="box-flex1 output_subarea output_pyerr"> |
|
124 | <div class="box-flex1 output_subarea output_pyerr"> | |
121 | <pre>{{super()}}</pre> |
|
125 | <pre>{{super()}}</pre> | |
122 | </div> |
|
126 | </div> | |
123 | {%- endblock pyerr %} |
|
127 | {%- endblock pyerr %} | |
124 |
|
128 | |||
125 | {%- block traceback_line %} |
|
129 | {%- block traceback_line %} | |
126 | {{line| ansi2html}} |
|
130 | {{line| ansi2html}} | |
127 | {%- endblock traceback_line %} |
|
131 | {%- endblock traceback_line %} | |
128 |
|
132 | |||
129 |
|
133 | |||
130 | {%- block data_text %} |
|
134 | {%- block data_text %} | |
131 | <pre>{{output.text | ansi2html}}</pre> |
|
135 | <pre>{{output.text | ansi2html}}</pre> | |
132 | {%- endblock -%} |
|
136 | {%- endblock -%} | |
133 |
|
137 | |||
134 |
|
138 | |||
135 | {%- block display_data scoped -%} |
|
139 | {%- block display_data scoped -%} | |
136 | <div class="box-flex1 output_subarea output_display_data"> |
|
140 | <div class="box-flex1 output_subarea output_display_data"> | |
137 | {{super()}} |
|
141 | {{super()}} | |
138 | </div> |
|
142 | </div> | |
139 | {%- endblock display_data -%} |
|
143 | {%- endblock display_data -%} |
@@ -1,89 +1,91 b'' | |||||
1 | {# |
|
1 | {# | |
2 |
|
2 | |||
3 | DO NOT USE THIS AS A BASE WORK, |
|
3 | DO NOT USE THIS AS A BASE WORK, | |
4 | IF YOU ARE COPY AND PASTING THIS FILE |
|
4 | IF YOU ARE COPY AND PASTING THIS FILE | |
5 | YOU ARE PROBABLY DOING THINGS WRONG. |
|
5 | YOU ARE PROBABLY DOING THINGS WRONG. | |
6 |
|
6 | |||
7 | Null template, Does nothing except defining a basic structure |
|
7 | Null template, Does nothing except defining a basic structure | |
8 |
To layout the diferent |
|
8 | To layout the different blocks of a notebook. | |
9 |
|
9 | |||
10 |
Subtemplates can |
|
10 | Subtemplates can override blocks to define their custom representation. | |
11 |
|
11 | |||
12 | If one of the block you do overrite is not a leave block, consider |
|
12 | If one of the block you do overwrite is not a leave block, consider | |
13 | calling super. |
|
13 | calling super. | |
14 |
|
14 | |||
15 | {%- block nonLeaveBlock -%} |
|
15 | {%- block nonLeaveBlock -%} | |
16 | #add stuff at beginning |
|
16 | #add stuff at beginning | |
17 | {{ super() }} |
|
17 | {{ super() }} | |
18 | #add stuff at end |
|
18 | #add stuff at end | |
19 | {%- endblock nonLeaveBlock -%} |
|
19 | {%- endblock nonLeaveBlock -%} | |
20 |
|
20 | |||
21 |
consider calling super even if |
|
21 | consider calling super even if it is a leave block, we might insert more blocks later. | |
22 |
|
22 | |||
23 | #} |
|
23 | #} | |
24 | {%- block header -%} |
|
24 | {%- block header -%} | |
25 | {%- endblock header -%} |
|
25 | {%- endblock header -%} | |
26 | {%- block body -%} |
|
26 | {%- block body -%} | |
27 | {%- for worksheet in nb.worksheets -%} |
|
27 | {%- for worksheet in nb.worksheets -%} | |
28 | {%- for cell in worksheet.cells -%} |
|
28 | {%- for cell in worksheet.cells -%} | |
29 | {%- block any_cell scoped -%} |
|
29 | {%- block any_cell scoped -%} | |
30 | {%- if cell.type in ['code'] -%} |
|
30 | {%- if cell.type in ['code'] -%} | |
31 | {%- block codecell scoped -%} |
|
31 | {%- block codecell scoped -%} | |
32 | {%- block input_group -%} |
|
32 | {%- block input_group -%} | |
33 | {%- block in_prompt -%}{%- endblock in_prompt -%} |
|
33 | {%- block in_prompt -%}{%- endblock in_prompt -%} | |
34 | {%- block input -%}{%- endblock input -%} |
|
34 | {%- block input -%}{%- endblock input -%} | |
35 | {%- endblock input_group -%} |
|
35 | {%- endblock input_group -%} | |
36 |
|
|
36 | {%- if cell.outputs -%} | |
37 | {%- block output_group -%} |
|
37 | {%- block output_group -%} | |
38 |
|
|
38 | {%- block output_prompt -%}{%- endblock output_prompt -%} | |
39 |
|
|
39 | {%- block outputs scoped -%} | |
40 |
|
|
40 | {%- for output in cell.outputs -%} | |
|
41 | {%- block output scoped -%} | |||
41 | {%- if output.output_type in ['pyout'] -%} |
|
42 | {%- if output.output_type in ['pyout'] -%} | |
42 | {%- block pyout scoped -%}{%- endblock pyout -%} |
|
43 | {%- block pyout scoped -%}{%- endblock pyout -%} | |
43 | {%- elif output.output_type in ['stream'] -%} |
|
44 | {%- elif output.output_type in ['stream'] -%} | |
44 | {%- block stream scoped -%} |
|
45 | {%- block stream scoped -%} | |
45 | {%- if output.stream in ['stdout'] -%} |
|
46 | {%- if output.stream in ['stdout'] -%} | |
46 | {%- block stream_stdout scoped -%} |
|
47 | {%- block stream_stdout scoped -%} | |
47 | {%- endblock stream_stdout -%} |
|
48 | {%- endblock stream_stdout -%} | |
48 | {%- elif output.stream in ['stderr'] -%} |
|
49 | {%- elif output.stream in ['stderr'] -%} | |
49 | {%- block stream_stderr scoped -%} |
|
50 | {%- block stream_stderr scoped -%} | |
50 | {%- endblock stream_stderr -%} |
|
51 | {%- endblock stream_stderr -%} | |
51 | {%- endif -%} |
|
52 | {%- endif -%} | |
52 | {%- endblock stream -%} |
|
53 | {%- endblock stream -%} | |
53 | {%- elif output.output_type in ['display_data'] -%} |
|
54 | {%- elif output.output_type in ['display_data'] -%} | |
54 | {%- block display_data scoped -%} |
|
55 | {%- block display_data scoped -%} | |
55 | {%- block data_priority scoped -%} |
|
56 | {%- block data_priority scoped -%} | |
56 | {%- endblock data_priority -%} |
|
57 | {%- endblock data_priority -%} | |
57 | {%- endblock display_data -%} |
|
58 | {%- endblock display_data -%} | |
58 | {%- elif output.output_type in ['pyerr'] -%} |
|
59 | {%- elif output.output_type in ['pyerr'] -%} | |
59 | {%- block pyerr scoped -%} |
|
60 | {%- block pyerr scoped -%} | |
60 | {%- for line in output.traceback -%} |
|
61 | {%- for line in output.traceback -%} | |
61 | {%- block traceback_line scoped -%}{%- endblock traceback_line -%} |
|
62 | {%- block traceback_line scoped -%}{%- endblock traceback_line -%} | |
62 | {%- endfor -%} |
|
63 | {%- endfor -%} | |
63 | {%- endblock pyerr -%} |
|
64 | {%- endblock pyerr -%} | |
64 | {%- endif -%} |
|
65 | {%- endif -%} | |
65 |
{%- end |
|
66 | {%- endblock output -%} | |
66 |
{%- end |
|
67 | {%- endfor -%} | |
|
68 | {%- endblock outputs -%} | |||
67 | {%- endblock output_group -%} |
|
69 | {%- endblock output_group -%} | |
68 |
|
|
70 | {%- endif -%} | |
69 | {%- endblock codecell -%} |
|
71 | {%- endblock codecell -%} | |
70 | {%- elif cell.type in ['markdown'] -%} |
|
72 | {%- elif cell.type in ['markdown'] -%} | |
71 | {%- block markdowncell scoped-%} |
|
73 | {%- block markdowncell scoped-%} | |
72 | {%- endblock markdowncell -%} |
|
74 | {%- endblock markdowncell -%} | |
73 | {%- elif cell.type in ['heading'] -%} |
|
75 | {%- elif cell.type in ['heading'] -%} | |
74 | {%- block headingcell scoped-%} |
|
76 | {%- block headingcell scoped-%} | |
75 | {%- endblock headingcell -%} |
|
77 | {%- endblock headingcell -%} | |
76 | {%- elif cell.type in ['raw'] -%} |
|
78 | {%- elif cell.type in ['raw'] -%} | |
77 | {%- block rawcell scoped-%} |
|
79 | {%- block rawcell scoped-%} | |
78 | {%- endblock rawcell -%} |
|
80 | {%- endblock rawcell -%} | |
79 | {%- else -%} |
|
81 | {%- else -%} | |
80 | {%- block unknowncell scoped-%} |
|
82 | {%- block unknowncell scoped-%} | |
81 | {%- endblock unknowncell -%} |
|
83 | {%- endblock unknowncell -%} | |
82 | {%- endif -%} |
|
84 | {%- endif -%} | |
83 | {%- endblock any_cell -%} |
|
85 | {%- endblock any_cell -%} | |
84 | {%- endfor -%} |
|
86 | {%- endfor -%} | |
85 | {%- endfor -%} |
|
87 | {%- endfor -%} | |
86 | {%- endblock body -%} |
|
88 | {%- endblock body -%} | |
87 |
|
89 | |||
88 | {%- block footer -%} |
|
90 | {%- block footer -%} | |
89 | {%- endblock footer -%} |
|
91 | {%- endblock footer -%} |
@@ -1,90 +1,92 b'' | |||||
1 | ((= autogenerated file do not edit =)) |
|
1 | ((= autogenerated file do not edit =)) | |
2 | ((= |
|
2 | ((= | |
3 |
|
3 | |||
4 | DO NOT USE THIS AS A BASE WORK, |
|
4 | DO NOT USE THIS AS A BASE WORK, | |
5 | IF YOU ARE COPY AND PASTING THIS FILE |
|
5 | IF YOU ARE COPY AND PASTING THIS FILE | |
6 | YOU ARE PROBABLY DOING THINGS WRONG. |
|
6 | YOU ARE PROBABLY DOING THINGS WRONG. | |
7 |
|
7 | |||
8 | Null template, Does nothing except defining a basic structure |
|
8 | Null template, Does nothing except defining a basic structure | |
9 |
To layout the diferent |
|
9 | To layout the different blocks of a notebook. | |
10 |
|
10 | |||
11 |
Subtemplates can |
|
11 | Subtemplates can override blocks to define their custom representation. | |
12 |
|
12 | |||
13 | If one of the block you do overrite is not a leave block, consider |
|
13 | If one of the block you do overwrite is not a leave block, consider | |
14 | calling super. |
|
14 | calling super. | |
15 |
|
15 | |||
16 | ((*- block nonLeaveBlock -*)) |
|
16 | ((*- block nonLeaveBlock -*)) | |
17 | #add stuff at beginning |
|
17 | #add stuff at beginning | |
18 | ((( super() ))) |
|
18 | ((( super() ))) | |
19 | #add stuff at end |
|
19 | #add stuff at end | |
20 | ((*- endblock nonLeaveBlock -*)) |
|
20 | ((*- endblock nonLeaveBlock -*)) | |
21 |
|
21 | |||
22 |
consider calling super even if |
|
22 | consider calling super even if it is a leave block, we might insert more blocks later. | |
23 |
|
23 | |||
24 | =)) |
|
24 | =)) | |
25 | ((*- block header -*)) |
|
25 | ((*- block header -*)) | |
26 | ((*- endblock header -*)) |
|
26 | ((*- endblock header -*)) | |
27 | ((*- block body -*)) |
|
27 | ((*- block body -*)) | |
28 | ((*- for worksheet in nb.worksheets -*)) |
|
28 | ((*- for worksheet in nb.worksheets -*)) | |
29 | ((*- for cell in worksheet.cells -*)) |
|
29 | ((*- for cell in worksheet.cells -*)) | |
30 | ((*- block any_cell scoped -*)) |
|
30 | ((*- block any_cell scoped -*)) | |
31 | ((*- if cell.type in ['code'] -*)) |
|
31 | ((*- if cell.type in ['code'] -*)) | |
32 | ((*- block codecell scoped -*)) |
|
32 | ((*- block codecell scoped -*)) | |
33 | ((*- block input_group -*)) |
|
33 | ((*- block input_group -*)) | |
34 | ((*- block in_prompt -*))((*- endblock in_prompt -*)) |
|
34 | ((*- block in_prompt -*))((*- endblock in_prompt -*)) | |
35 | ((*- block input -*))((*- endblock input -*)) |
|
35 | ((*- block input -*))((*- endblock input -*)) | |
36 | ((*- endblock input_group -*)) |
|
36 | ((*- endblock input_group -*)) | |
37 |
|
|
37 | ((*- if cell.outputs -*)) | |
38 | ((*- block output_group -*)) |
|
38 | ((*- block output_group -*)) | |
39 |
|
|
39 | ((*- block output_prompt -*))((*- endblock output_prompt -*)) | |
40 |
|
|
40 | ((*- block outputs scoped -*)) | |
41 |
|
|
41 | ((*- for output in cell.outputs -*)) | |
|
42 | ((*- block output scoped -*)) | |||
42 | ((*- if output.output_type in ['pyout'] -*)) |
|
43 | ((*- if output.output_type in ['pyout'] -*)) | |
43 | ((*- block pyout scoped -*))((*- endblock pyout -*)) |
|
44 | ((*- block pyout scoped -*))((*- endblock pyout -*)) | |
44 | ((*- elif output.output_type in ['stream'] -*)) |
|
45 | ((*- elif output.output_type in ['stream'] -*)) | |
45 | ((*- block stream scoped -*)) |
|
46 | ((*- block stream scoped -*)) | |
46 | ((*- if output.stream in ['stdout'] -*)) |
|
47 | ((*- if output.stream in ['stdout'] -*)) | |
47 | ((*- block stream_stdout scoped -*)) |
|
48 | ((*- block stream_stdout scoped -*)) | |
48 | ((*- endblock stream_stdout -*)) |
|
49 | ((*- endblock stream_stdout -*)) | |
49 | ((*- elif output.stream in ['stderr'] -*)) |
|
50 | ((*- elif output.stream in ['stderr'] -*)) | |
50 | ((*- block stream_stderr scoped -*)) |
|
51 | ((*- block stream_stderr scoped -*)) | |
51 | ((*- endblock stream_stderr -*)) |
|
52 | ((*- endblock stream_stderr -*)) | |
52 | ((*- endif -*)) |
|
53 | ((*- endif -*)) | |
53 | ((*- endblock stream -*)) |
|
54 | ((*- endblock stream -*)) | |
54 | ((*- elif output.output_type in ['display_data'] -*)) |
|
55 | ((*- elif output.output_type in ['display_data'] -*)) | |
55 | ((*- block display_data scoped -*)) |
|
56 | ((*- block display_data scoped -*)) | |
56 | ((*- block data_priority scoped -*)) |
|
57 | ((*- block data_priority scoped -*)) | |
57 | ((*- endblock data_priority -*)) |
|
58 | ((*- endblock data_priority -*)) | |
58 | ((*- endblock display_data -*)) |
|
59 | ((*- endblock display_data -*)) | |
59 | ((*- elif output.output_type in ['pyerr'] -*)) |
|
60 | ((*- elif output.output_type in ['pyerr'] -*)) | |
60 | ((*- block pyerr scoped -*)) |
|
61 | ((*- block pyerr scoped -*)) | |
61 | ((*- for line in output.traceback -*)) |
|
62 | ((*- for line in output.traceback -*)) | |
62 | ((*- block traceback_line scoped -*))((*- endblock traceback_line -*)) |
|
63 | ((*- block traceback_line scoped -*))((*- endblock traceback_line -*)) | |
63 | ((*- endfor -*)) |
|
64 | ((*- endfor -*)) | |
64 | ((*- endblock pyerr -*)) |
|
65 | ((*- endblock pyerr -*)) | |
65 | ((*- endif -*)) |
|
66 | ((*- endif -*)) | |
66 |
((*- end |
|
67 | ((*- endblock output -*)) | |
67 |
((*- end |
|
68 | ((*- endfor -*)) | |
|
69 | ((*- endblock outputs -*)) | |||
68 | ((*- endblock output_group -*)) |
|
70 | ((*- endblock output_group -*)) | |
69 |
|
|
71 | ((*- endif -*)) | |
70 | ((*- endblock codecell -*)) |
|
72 | ((*- endblock codecell -*)) | |
71 | ((*- elif cell.type in ['markdown'] -*)) |
|
73 | ((*- elif cell.type in ['markdown'] -*)) | |
72 | ((*- block markdowncell scoped-*)) |
|
74 | ((*- block markdowncell scoped-*)) | |
73 | ((*- endblock markdowncell -*)) |
|
75 | ((*- endblock markdowncell -*)) | |
74 | ((*- elif cell.type in ['heading'] -*)) |
|
76 | ((*- elif cell.type in ['heading'] -*)) | |
75 | ((*- block headingcell scoped-*)) |
|
77 | ((*- block headingcell scoped-*)) | |
76 | ((*- endblock headingcell -*)) |
|
78 | ((*- endblock headingcell -*)) | |
77 | ((*- elif cell.type in ['raw'] -*)) |
|
79 | ((*- elif cell.type in ['raw'] -*)) | |
78 | ((*- block rawcell scoped-*)) |
|
80 | ((*- block rawcell scoped-*)) | |
79 | ((*- endblock rawcell -*)) |
|
81 | ((*- endblock rawcell -*)) | |
80 | ((*- else -*)) |
|
82 | ((*- else -*)) | |
81 | ((*- block unknowncell scoped-*)) |
|
83 | ((*- block unknowncell scoped-*)) | |
82 | ((*- endblock unknowncell -*)) |
|
84 | ((*- endblock unknowncell -*)) | |
83 | ((*- endif -*)) |
|
85 | ((*- endif -*)) | |
84 | ((*- endblock any_cell -*)) |
|
86 | ((*- endblock any_cell -*)) | |
85 | ((*- endfor -*)) |
|
87 | ((*- endfor -*)) | |
86 | ((*- endfor -*)) |
|
88 | ((*- endfor -*)) | |
87 | ((*- endblock body -*)) |
|
89 | ((*- endblock body -*)) | |
88 |
|
90 | |||
89 | ((*- block footer -*)) |
|
91 | ((*- block footer -*)) | |
90 | ((*- endblock footer -*)) |
|
92 | ((*- endblock footer -*)) |
General Comments 0
You need to be logged in to leave comments.
Login now