Show More
@@ -65,9 +65,22 b'' | |||||
65 | ((* block footer *)) |
|
65 | ((* block footer *)) | |
66 | ((* endblock footer *)) |
|
66 | ((* endblock footer *)) | |
67 |
|
67 | |||
68 |
((*- block |
|
68 | ((*- block headingcell-*)) | |
69 | ((( cell.source))) |
|
69 | ||
70 |
((*- if cell. |
|
70 | ((*- if cell.level == 1 -*)) | |
|
71 | \part | |||
|
72 | ((*- elif cell.level == 2 -*)) | |||
|
73 | \chapter | |||
|
74 | ((*- elif cell.level == 3 -*)) | |||
|
75 | \section | |||
|
76 | ((*- elif cell.level == 4 -*)) | |||
|
77 | \subsection | |||
|
78 | ((*- elif cell.level == 5 -*)) | |||
|
79 | \subsubsection | |||
|
80 | ((*- elif cell.level == 6 -*)) | |||
|
81 | \paragraph | |||
|
82 | ((*- endif -*)){((( cell.source )))} | |||
|
83 | ((*- endblock headingcell -*)) | |||
71 |
|
84 | |||
72 |
|
|
85 | ((*- block codecell scoped -*)) | |
73 |
|
|
86 | ((*- block input_group -*)) | |
@@ -108,21 +121,16 b'' | |||||
108 |
|
|
121 | ((*- endblock output_group -*)) | |
109 |
|
|
122 | ((*- endif -*)) | |
110 |
|
|
123 | ((*- endblock codecell -*)) | |
111 | ((*- elif cell.type in ['markdown'] -*)) |
|
|||
112 |
|
124 | |||
113 |
|
|
125 | ((*- block markdowncell scoped-*)) | |
|
126 | %TODO: Get this working! | |||
114 |
|
|
127 | ((*- endblock markdowncell -*)) | |
115 | ((*- elif cell.type in ['heading'] -*)) |
|
|||
116 |
|
128 | |||
117 | ((*- block headingcell scoped-*)) |
|
|||
118 | ((*- endblock headingcell -*)) |
|
|||
119 | ((*- elif cell.type in ['raw'] -*)) |
|
|||
120 |
|
129 | |||
121 |
|
|
130 | ((*- block rawcell scoped-*)) | |
|
131 | ||||
122 |
|
|
132 | ((*- endblock rawcell -*)) | |
123 | ((*- else -*)) |
|
|||
124 |
|
133 | |||
125 |
|
|
134 | ((*- block unknowncell scoped-*)) | |
|
135 | ||||
126 |
|
|
136 | ((*- endblock unknowncell -*)) | |
127 | ((*- endif -*)) |
|
|||
128 | ((*- endblock any_cell -*)) |
|
General Comments 0
You need to be logged in to leave comments.
Login now