markdown.tpl
62 lines
| 1.3 KiB
| application/vnd.groove-tool-template
|
SmartyLexer
Matthias BUSSONNIER
|
r9701 | {% extends 'display_priority.tpl' %} | |
damianavila
|
r11770 | ||
Matthias BUSSONNIER
|
r9701 | {% block in_prompt %} | |
damianavila
|
r11770 | {% endblock in_prompt %} | |
Matthias BUSSONNIER
|
r9701 | ||
damianavila
|
r11770 | {% block output_prompt %} | |
{%- endblock output_prompt %} | |||
Matthias BUSSONNIER
|
r9701 | ||
{% block input %} | |||
MinRK
|
r18580 | {{ cell.source | indent(4)}} | |
Matthias BUSSONNIER
|
r9701 | {% endblock input %} | |
MinRK
|
r18580 | {% block error %} | |
Matthias BUSSONNIER
|
r9701 | {{ super() }} | |
MinRK
|
r18580 | {% endblock error %} | |
Matthias BUSSONNIER
|
r9701 | ||
{% block traceback_line %} | |||
damianavila
|
r11770 | {{ line | indent | strip_ansi }} | |
{% endblock traceback_line %} | |||
Matthias BUSSONNIER
|
r9701 | ||
MinRK
|
r18580 | {% block execute_result %} | |
MinRK
|
r12448 | ||
damianavila
|
r11770 | {% block data_priority scoped %} | |
{{ super() }} | |||
{% endblock %} | |||
MinRK
|
r18580 | {% endblock execute_result %} | |
Matthias BUSSONNIER
|
r9701 | ||
{% block stream %} | |||
damianavila
|
r11770 | {{ output.text | indent }} | |
Matthias BUSSONNIER
|
r9701 | {% endblock stream %} | |
{% block data_svg %} | |||
MinRK
|
r12451 | ![svg]({{ output.svg_filename | path2url }}) | |
Matthias BUSSONNIER
|
r9701 | {% endblock data_svg %} | |
{% block data_png %} | |||
MinRK
|
r18589 | ![png]({{ output.metadata.filenames['image/png'] | path2url }}) | |
Matthias BUSSONNIER
|
r9701 | {% endblock data_png %} | |
{% block data_jpg %} | |||
MinRK
|
r18589 | ![jpeg]({{ output.metadata.filenames['image/jpeg'] | path2url }}) | |
Matthias BUSSONNIER
|
r9701 | {% endblock data_jpg %} | |
{% block data_latex %} | |||
MinRK
|
r18589 | {{ output.data['text/latex'] }} | |
Matthias BUSSONNIER
|
r9701 | {% endblock data_latex %} | |
MinRK
|
r12448 | {% block data_html scoped %} | |
MinRK
|
r18589 | {{ output.data['text/html'] }} | |
MinRK
|
r12448 | {% endblock data_html %} | |
Matthias BUSSONNIER
|
r9701 | {% block data_text scoped %} | |
MinRK
|
r18589 | {{ output.data['text/plain'] | indent }} | |
Matthias BUSSONNIER
|
r9701 | {% endblock data_text %} | |
{% block markdowncell scoped %} | |||
MinRK
|
r17863 | {{ cell.source }} | |
Matthias BUSSONNIER
|
r9701 | {% endblock markdowncell %} | |
{% block unknowncell scoped %} | |||
damianavila
|
r11770 | unknown type {{ cell.type }} | |
{% endblock unknowncell %} |