##// END OF EJS Templates
highlight: cell metadata to decide how to highlight foreign languages...
highlight: cell metadata to decide how to highlight foreign languages * Remove magic language detection from highlight filter, and replace it by a lookup in the cell metadata. * The highlight filter now expects a full Cell object instead of the Cell input. * Modify templates so they pass a full cell object. * Update highlight filter tests

File last commit:

r11770:6b8a9d57
r12572:b0d197bf
Show More
slides.tpl
16 lines | 327 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'reveal_internals/subslides.tpl' -%}
{%- block any_cell scoped -%}
{%- if cell.metadata.slide_type in ['slide'] -%}
<section>
<section>
{%- endif -%}
{{ super() }}
{%- if cell.metadata.slide_helper in ['slide_end'] -%}
</section>
</section>
{%- endif -%}
{%- endblock any_cell -%}