##// END OF EJS Templates
SVG scoping must be explicitly enabled by the user...
SVG scoping must be explicitly enabled by the user SVG scoping is disabled by default, to enable it the user must call the core.display.SVG constructor with the scoped=True keyword parameter.

File last commit:

r11770:6b8a9d57
r13409:9519db2c
Show More
align_reveal_cells.tpl
16 lines | 427 B | application/vnd.groove-tool-template | SmartyLexer
damianavila
Organized reveal's templates.
r11677 {%- extends 'reveal_internals/reveal_cells.tpl' -%}
damianavila
Added changes to understand alignment metadata for each cells.
r10947
{%- block any_cell scoped -%}
{%- if cell.metadata.align_type in ['Left'] -%}
{{ super() }}
{%- elif cell.metadata.align_type in ['center'] -%}
<div style="text-align:center">
{{ super() }}
</div>
{%- elif cell.metadata.align_type in ['right'] -%}
<div style="text-align:right">
{{ super() }}
</div>
{%- endif -%}
{%- endblock any_cell -%}