{%- extends 'display_priority.tpl' -%} {% block codecell %}
{{ super() }}
{%- endblock codecell %} {% block input_group -%}
{{super()}}
{% endblock input_group %} {% block output_group %}
{{ super() }}
{% endblock output_group %} {% block in_prompt -%}
In [{{cell.prompt_number}}]:
{%- endblock in_prompt %} {# output_prompt doesn't do anything in HTML, because there is a prompt div in each output area (see output block) #} {% block output_prompt %} {% endblock output_prompt %} {% block input %}
{{cell.input | highlight }}
{%- endblock input %} {% block output %}
{%- if output.output_type == 'pyout' -%}
Out[{{cell.prompt_number}}]: {%- else -%}
{%- endif -%}
{{ super() }}
{% endblock output %} {% block markdowncell scoped %}
{{ cell.source | markdown| rm_fake}}
{%- endblock markdowncell %} {% block headingcell scoped %}
{% set source = cell.source | replace(' ','_') %} {{cell.source | markdown| rm_fake}}
{% endblock headingcell %} {% block rawcell scoped %} {{ cell.source }} {% endblock rawcell %} {% block unknowncell scoped %} unknown type {{cell.type}} {% endblock unknowncell %} {% block pyout -%}
{% block data_priority scoped %}{{ super()}}{% endblock %}
{%- endblock pyout %} {% block stream_stdout -%}
{{output.text |ansi2html}}
{%- endblock stream_stdout %} {% block stream_stderr -%}
{{output.text |ansi2html}}
{%- endblock stream_stderr %} {% block data_svg -%} {{output.svg}} {%- endblock data_svg %} {% block data_html -%}
{{output.html}}
{%- endblock data_html %} {% block data_png %} {%- endblock data_png %} {% block data_jpg %} {%- endblock data_jpg %} {% block data_latex %} {{output.latex}} {%- endblock data_latex %} {% block pyerr -%}
{{super()}}
{%- endblock pyerr %} {%- block traceback_line %} {{line| ansi2html}} {%- endblock traceback_line %} {%- block data_text %}
{{output.text | ansi2html}}
{%- endblock -%} {%- block display_data scoped -%}
{{super()}}
{%- endblock display_data -%}