{% extends 'markdown.tpl' %} {% block input %} {% if cell.source != '' %} {:.input_area} ``` {%- 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 %} {% endblock input %} {% block stream %} {:.output_stream} ``` {{ output.text }} ``` {% endblock stream %} {% block data_text %} {:.output_data_text} ``` {{ output.data['text/plain'] }} ``` {% endblock data_text %} {% block traceback_line %} {:.output_traceback_line} ``` {{ line | strip_ansi }} ``` {% endblock traceback_line %} {% block data_html %}
{{ output.data['text/html'] }}
{% endblock data_html %}