##// END OF EJS Templates
Merge pull request #5232 from jdfreder/nbc_incono...
Merge pull request #5232 from jdfreder/nbc_incono Make nbconvert html full output like notebook's html.

File last commit:

r15383:6753f61a
r15741:b668b92a merge
Show More
display_priority.tpl
41 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 -%}
{%- for type in output | filter_data_type -%}
MinRK
remove inappropriate 'pdf' key...
r15383 {%- if type in ['application/pdf']%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_pdf -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['svg']%}
{%- block data_svg -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['png']%}
{%- block data_png -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['html']%}
{%- block data_html -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['jpeg']%}
{%- block data_jpg -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['text']%}
{%- block data_text -%}
{%- endblock -%}
{%- endif -%}
{%- if type in ['latex']%}
{%- block data_latex -%}
{%- endblock -%}
{%- endif -%}
MinRK
add missing data_javascript...
r12446 {%- if type in ['javascript']%}
{%- block data_javascript -%}
{%- endblock -%}
{%- endif -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- endfor -%}
{%- endblock data_priority -%}