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