{%- if cell.execution_count is defined -%}
In [{{ cell.execution_count|replace(None, " ") }}]:
{%- else -%}
In [ ]:
{%- endif -%}
{%- endblock in_prompt %}
{% block empty_in_prompt -%}
{%- if cell.execution_count is defined -%}
Out[{{ cell.execution_count|replace(None, " ") }}]:
{%- else -%}
Out[ ]:
{%- endif -%}
{%- else -%}
{%- endif -%}
{% endblock output_area_prompt %}
{% block output %}
{% if resources.global_content_filter.include_output_prompt %}
{{ self.output_area_prompt() }}
{% endif %}
{{ super() }}
{% endblock output %}
{% block markdowncell scoped %}
{%- if resources.global_content_filter.include_input_prompt-%}
{{ self.empty_in_prompt() }}
{%- endif -%}
{{ cell.source | markdown2html | strip_files_prefix }}
{%- endblock markdowncell %}
{% block unknowncell scoped %}
unknown type {{ cell.type }}
{% endblock unknowncell %}
{% block execute_result -%}
{%- set extra_class="output_execute_result" -%}
{% block data_priority scoped %}
{{ super() }}
{% endblock data_priority %}
{%- set extra_class="" -%}
{%- endblock execute_result %}
{% block stream_stdout -%}
{{- output.text | ansi2html -}}
{%- endblock stream_stdout %}
{% block stream_stderr -%}
{{- output.text | ansi2html -}}
{%- endblock stream_stderr %}
{% block data_svg scoped -%}
{%- endblock data_svg %}
{% block data_html scoped -%}
{%- endblock data_html %}
{% block data_markdown scoped -%}
{%- endblock data_markdown %}
{% block data_png scoped %}
{%- endblock data_png %}
{% block data_jpg scoped %}
{%- endblock data_jpg %}
{% block data_latex scoped %}
{%- endblock data_latex %}
{% block error -%}
{%- endblock error %}
{%- block traceback_line %}
{{ line | ansi2html }}
{%- endblock traceback_line %}
{%- block data_text scoped %}
{%- endblock -%}
{%- block data_javascript scoped %}
{% set div_id = uuid4() %}
{%- endblock -%}
{%- block data_widget_state scoped %}
{% set div_id = uuid4() %}
{% set datatype_list = output.data | filter_data_type %}
{% set datatype = datatype_list[0]%}
{%- endblock data_widget_state -%}
{%- block data_widget_view scoped %}
{% set div_id = uuid4() %}
{% set datatype_list = output.data | filter_data_type %}
{% set datatype = datatype_list[0]%}
{%- endblock data_widget_view -%}
{%- block footer %}
{% set mimetype = 'application/vnd.jupyter.widget-state+json'%}
{% if mimetype in nb.metadata.get("widgets",{})%}
{% endif %}
{{ super() }}
{%- endblock footer-%}