{%- extends 'markdown.tpl' -%} {%- block codecell %} {% if 'remove_cell' not in cell.metadata.tags and 'removecell' not in cell.metadata.tags %}
{{- super() }}
{% endif %} {% endblock codecell %} {% block input %} {%- if 'remove_input' not in cell.metadata.tags %} {%- if cell.source != '' -%}
``` {%- if 'magics_language' in cell.metadata -%} {{ cell.metadata.magics_language}} {%- elif 'name' in nb.metadata.get('language_info', {}) -%} {{ nb.metadata.language_info.name }} {% endif %} {{- cell.source }} {% endif %} ```
{%- endif %} {% endblock input %} {% block output %}
{{- super() -}}
{%- endblock output %} {%- block stream %} {:.output_stream} ``` {{ output.text -}} ``` {% endblock stream %} {% block data_text -%} {:.output_data_text} ``` {{ output.data['text/plain'] }} ``` {% endblock data_text %} {%- block error %} {:.output_traceback_line} ``` {{- super() }} ``` {% endblock error %} {%- block data_html %}
{{ output.data['text/html'] }}
{% endblock data_html %} {%- block data_png %} {:.output_png} {{- super() -}} {% endblock data_png %} {% block markdowncell %} {% if 'remove_cell' not in cell.metadata.tags and 'removecell' not in cell.metadata.tags %} {{- super() }} {% endif %} {%- endblock markdowncell %}