##// END OF EJS Templates
add any-cell block
Matthias BUSSONNIER -
Show More
@@ -2,6 +2,7
2 2 {%- endblock header -%}
3 3 {%- block body -%}
4 4 {%- for cell in cells -%}
5 {%- block any_cell scoped -%}
5 6 {%- if cell.type in ['code'] -%}
6 7 {%- block codecell scoped-%}
7 8 {%- endblock codecell-%}
@@ -18,6 +19,7
18 19 {%- block unknowncell scoped-%}
19 20 {%- endblock unknowncell -%}
20 21 {%- endif -%}
22 {%- endblock any_cell -%}
21 23 {%- endfor -%}
22 24 {%- endblock body -%}
23 25
@@ -1,10 +1,9
1 1 {%- extends 'python.tpl' -%}
2 2
3 {% block codecell %}
3 {% block any_cell %}
4 4 ==============================
5 =======start codecell=========
5 =======start {{cell.type}}=========
6 6 {{ super() }}
7 ======= end codecell =========
8 ==============================
9 {% endblock codecell %}
7 ======= end {{cell.type}} =========
8 =============================={% endblock any_cell %}
10 9
General Comments 0
You need to be logged in to leave comments. Login now