markdown.tpl
67 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
|
r12448 | {{ cell.input | indent(4)}} | |
Matthias BUSSONNIER
|
r9701 | {% endblock input %} | |
{% block pyerr %} | |||
{{ super() }} | |||
{% endblock pyerr %} | |||
{% block traceback_line %} | |||
damianavila
|
r11770 | {{ line | indent | strip_ansi }} | |
{% endblock traceback_line %} | |||
Matthias BUSSONNIER
|
r9701 | ||
{% block pyout %} | |||
MinRK
|
r12448 | ||
damianavila
|
r11770 | {% block data_priority scoped %} | |
{{ super() }} | |||
{% endblock %} | |||
Matthias BUSSONNIER
|
r9701 | {% endblock pyout %} | |
{% 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
|
r12451 | ![png]({{ output.png_filename | path2url }}) | |
Matthias BUSSONNIER
|
r9701 | {% endblock data_png %} | |
{% block data_jpg %} | |||
MinRK
|
r12451 | ![jpeg]({{ output.jpeg_filename | path2url }}) | |
Matthias BUSSONNIER
|
r9701 | {% endblock data_jpg %} | |
{% block data_latex %} | |||
damianavila
|
r11770 | {{ output.latex }} | |
Matthias BUSSONNIER
|
r9701 | {% endblock data_latex %} | |
MinRK
|
r12448 | {% block data_html scoped %} | |
{{ output.html }} | |||
{% endblock data_html %} | |||
Matthias BUSSONNIER
|
r9701 | {% block data_text scoped %} | |
damianavila
|
r11770 | {{ output.text | indent }} | |
Matthias BUSSONNIER
|
r9701 | {% endblock data_text %} | |
{% block markdowncell scoped %} | |||
MinRK
|
r17863 | {{ cell.source }} | |
Matthias BUSSONNIER
|
r9701 | {% endblock markdowncell %} | |
MinRK
|
r12448 | ||
Matthias BUSSONNIER
|
r9701 | {% block headingcell scoped %} | |
MinRK
|
r11303 | {{ '#' * cell.level }} {{ cell.source | replace('\n', ' ') }} | |
Matthias BUSSONNIER
|
r9701 | {% endblock headingcell %} | |
{% block unknowncell scoped %} | |||
damianavila
|
r11770 | unknown type {{ cell.type }} | |
{% endblock unknowncell %} |