##// END OF EJS Templates
Do not wrap headers in markdown.tpl because inconsistency in the interpretation of multiline headers.
damianavila -
Show More
@@ -1,73 +1,73 b''
1 {% extends 'display_priority.tpl' %}
1 {% extends 'display_priority.tpl' %}
2 {% block in_prompt %}
2 {% block in_prompt %}
3 In[{{cell.prompt_number if cell.prompt_number else ' '}}]:{% endblock in_prompt %}
3 In[{{cell.prompt_number if cell.prompt_number else ' '}}]:{% endblock in_prompt %}
4
4
5 {% block output_prompt %}{% if cell.haspyout %}Out[{{cell.prompt_number}}]:
5 {% block output_prompt %}{% if cell.haspyout %}Out[{{cell.prompt_number}}]:
6 {%- endif %}{%- endblock output_prompt %}
6 {%- endif %}{%- endblock output_prompt %}
7
7
8 {% block input %}
8 {% block input %}
9 ```
9 ```
10 {{ cell.input}}
10 {{ cell.input}}
11 ```
11 ```
12 {% endblock input %}
12 {% endblock input %}
13
13
14 {% block pyerr %}
14 {% block pyerr %}
15 {{ super() }}
15 {{ super() }}
16 {% endblock pyerr %}
16 {% endblock pyerr %}
17
17
18 {% block traceback_line %}
18 {% block traceback_line %}
19 {{ line |indent| rm_ansi }}{% endblock traceback_line %}
19 {{ line |indent| rm_ansi }}{% endblock traceback_line %}
20
20
21 {% block pyout %}
21 {% block pyout %}
22 {% block data_priority scoped %}{{ super()}}{% endblock %}
22 {% block data_priority scoped %}{{ super()}}{% endblock %}
23 {% endblock pyout %}
23 {% endblock pyout %}
24
24
25 {% block stream %}
25 {% block stream %}
26 {{ output.text| indent }}
26 {{ output.text| indent }}
27 {% endblock stream %}
27 {% endblock stream %}
28
28
29
29
30
30
31
31
32 {% block data_svg %}
32 {% block data_svg %}
33 [!image]({{output.key_svg}})
33 [!image]({{output.key_svg}})
34 {% endblock data_svg %}
34 {% endblock data_svg %}
35
35
36 {% block data_png %}
36 {% block data_png %}
37 [!image]({{output.key_png}})
37 [!image]({{output.key_png}})
38 {% endblock data_png %}
38 {% endblock data_png %}
39
39
40 {% block data_jpg %}
40 {% block data_jpg %}
41 [!image]({{output.key_jpg}})
41 [!image]({{output.key_jpg}})
42 {% endblock data_jpg %}
42 {% endblock data_jpg %}
43
43
44
44
45
45
46 {% block data_latex %}
46 {% block data_latex %}
47 $$
47 $$
48 {{output.latex}}
48 {{output.latex}}
49 $$
49 $$
50 {% endblock data_latex %}
50 {% endblock data_latex %}
51
51
52 {% block data_text scoped %}
52 {% block data_text scoped %}
53
53
54 {{output.text | indent}}
54 {{output.text | indent}}
55
55
56 {% endblock data_text %}
56 {% endblock data_text %}
57
57
58 {% block markdowncell scoped %}
58 {% block markdowncell scoped %}
59 {{ cell.source | wrap(80)}}
59 {{ cell.source | wrap(80)}}
60 {% endblock markdowncell %}
60 {% endblock markdowncell %}
61
61
62 {% block headingcell scoped %}
62 {% block headingcell scoped %}
63
63
64 {{ '#' * cell.level }} {{ cell.source | wordwrap(80, False, '\n'+'#' * cell.level+' ')}}
64 {{ '#' * cell.level }} {{ cell.source }}
65
65
66 {% endblock headingcell %}
66 {% endblock headingcell %}
67
67
68 {% block rawcell scoped %}{{ cell.source }}
68 {% block rawcell scoped %}{{ cell.source }}
69 {% endblock rawcell %}
69 {% endblock rawcell %}
70
70
71 {% block unknowncell scoped %}
71 {% block unknowncell scoped %}
72 unknown type {{cell.type}}
72 unknown type {{cell.type}}
73 {% endblock unknowncell %}
73 {% endblock unknowncell %}
General Comments 0
You need to be logged in to leave comments. Login now