##// END OF EJS Templates
validate codemirror_mode
validate codemirror_mode

File last commit:

r18589:135227ac
r19049:713b175e
Show More
display_priority.tpl
37 lines | 1.2 KiB | application/vnd.groove-tool-template | SmartyLexer
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- extends 'null.tpl' -%}
{#display data priority#}
{%- block data_priority scoped -%}
MinRK
move mime-bundle data to rich output.data...
r18589 {%- for type in output.data | filter_data_type -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- if type == 'application/pdf' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_pdf -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'image/svg+xml' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_svg -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'image/png' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_png -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'text/html' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_html -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'image/jpeg' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_jpg -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'text/plain' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_text -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'text/latex' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_latex -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'application/javascript' -%}
MinRK
add missing data_javascript...
r12446 {%- block data_javascript -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- else -%}
{%- block data_other -%}
{%- endblock -%}
MinRK
add missing data_javascript...
r12446 {%- endif -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- endfor -%}
{%- endblock data_priority -%}