##// END OF EJS Templates
split adds new cell above, rather than below...
split adds new cell above, rather than below preserves the order of code and output across split event rather than moving output into the middle of the split.

File last commit:

r11771:a5cc9313
r12956:146f06f8
Show More
reveal_cells.tpl
20 lines | 524 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'html_basic.tpl' -%}
{%- block any_cell scoped -%}
{%- if cell.metadata.slide_type in ['-', 'slide', 'subslide'] -%}
{{ super() }}
{%- elif cell.metadata.slide_type in ['skip'] -%}
<div style=display:none>
{{ super() }}
</div>
{%- elif cell.metadata.slide_type in ['notes'] -%}
<aside class="notes">
{{ super() }}
</aside>
{%- elif cell.metadata.slide_type in ['fragment'] -%}
<div class="fragment">
{{ super() }}
</div>
{%- endif -%}
{%- endblock any_cell -%}