##// END OF EJS Templates
tweak formatter.for_type...
tweak formatter.for_type - for_type(cls) nondestructively queries the current formatter (previously disallowed) - for_type(cls, None) clears the current formatter (previously queried current)

File last commit:

r11771:a5cc9313
r13654:9ece5b6a
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 -%}