##// END OF EJS Templates
Add HighlightMagicsPreprocessor...
Add HighlightMagicsPreprocessor HighlightMagicsPreprocessor is in charge of detecting cells that use language extensions. It tags the cell metadata with the language used. Enable HighlightMagicsPreprocessor by default on latex and html exporters.

File last commit:

r11771:a5cc9313
r12573:e46115c2
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 -%}