##// END OF EJS Templates
command.extend in pandoc
command.extend in pandoc

File last commit:

r11086:c137395d
r11430:5afebbb4
Show More
reveal_cells.tpl
21 lines | 524 B | application/vnd.groove-tool-template | SmartyLexer
damianavila
A new implementation of reveal converter with jinja templates.
r9662 {%- extends 'basichtml.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 -%}