##// END OF EJS Templates
Process header cells....
Jonathan Frederic -
Show More
@@ -65,9 +65,22 b''
65 ((* block footer *))
65 ((* block footer *))
66 ((* endblock footer *))
66 ((* endblock footer *))
67
67
68 ((*- block any_cell scoped -*))
68 ((*- block headingcell-*))
69 ((( cell.source)))
69
70 ((*- if cell.type in ['code'] -*))
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 ((*- block codecell scoped -*))
85 ((*- block codecell scoped -*))
73 ((*- block input_group -*))
86 ((*- block input_group -*))
@@ -108,21 +121,16 b''
108 ((*- endblock output_group -*))
121 ((*- endblock output_group -*))
109 ((*- endif -*))
122 ((*- endif -*))
110 ((*- endblock codecell -*))
123 ((*- endblock codecell -*))
111 ((*- elif cell.type in ['markdown'] -*))
112
124
113 ((*- block markdowncell scoped-*))
125 ((*- block markdowncell scoped-*))
126 %TODO: Get this working!
114 ((*- endblock markdowncell -*))
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 ((*- block rawcell scoped-*))
130 ((*- block rawcell scoped-*))
131
122 ((*- endblock rawcell -*))
132 ((*- endblock rawcell -*))
123 ((*- else -*))
124
133
125 ((*- block unknowncell scoped-*))
134 ((*- block unknowncell scoped-*))
135
126 ((*- endblock unknowncell -*))
136 ((*- endblock unknowncell -*))
127 ((*- endif -*))
128 ((*- endblock any_cell -*))
General Comments 0
You need to be logged in to leave comments. Login now