Show More
@@ -6,11 +6,11 b' IF YOU ARE COPY AND PASTING THIS FILE' | |||
|
6 | 6 | YOU ARE PROBABLY DOING THINGS WRONG. |
|
7 | 7 | |
|
8 | 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 | 14 | calling super. |
|
15 | 15 | |
|
16 | 16 | ((*- block nonLeaveBlock -*)) |
@@ -19,7 +19,7 b' calling super.' | |||
|
19 | 19 | #add stuff at end |
|
20 | 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 | 25 | ((*- block header -*)) |
@@ -37,8 +37,9 b' consider calling super even if block is leave block, we might insert more block ' | |||
|
37 | 37 |
|
|
38 | 38 | ((*- block output_group -*)) |
|
39 | 39 |
|
|
40 |
|
|
|
40 | ((*- block outputs scoped -*)) | |
|
41 | 41 |
|
|
42 | ((*- block output scoped -*)) | |
|
42 | 43 | ((*- if output.output_type in ['pyout'] -*)) |
|
43 | 44 | ((*- block pyout scoped -*))((*- endblock pyout -*)) |
|
44 | 45 | ((*- elif output.output_type in ['stream'] -*)) |
@@ -63,6 +64,7 b' consider calling super even if block is leave block, we might insert more block ' | |||
|
63 | 64 | ((*- endfor -*)) |
|
64 | 65 | ((*- endblock pyerr -*)) |
|
65 | 66 | ((*- endif -*)) |
|
67 | ((*- endblock output -*)) | |
|
66 | 68 |
|
|
67 | 69 |
|
|
68 | 70 | ((*- endblock output_group -*)) |
General Comments 0
You need to be logged in to leave comments.
Login now