##// END OF EJS Templates
fix data priority rst
Matthias BUSSONNIER -
Show More
@@ -8,6 +8,6 b" c.NbconvertApp.fileext='rst'"
8 c.ExtractFigureTransformer.enabled=True
8 c.ExtractFigureTransformer.enabled=True
9
9
10 c.ExtractFigureTransformer.display_data_priority=['svg', 'png', 'latex', 'jpg', 'jpeg','text']
10 c.ExtractFigureTransformer.display_data_priority=['svg', 'png', 'latex', 'jpg', 'jpeg','text']
11 c.ConverterTemplate.display_data_priority=['svg', 'png', 'latex', 'jpg', 'jpeg','text']
11 c.ConverterTemplate.display_data_priority= ['svg', 'png', 'latex', 'jpg', 'jpeg','text']
12
12
13
13
@@ -13,16 +13,15 b' Out[{{cell.prompt_number}}]:{% endif %}{% endblock output_prompt %}'
13
13
14 {% endblock input %}
14 {% endblock input %}
15
15
16 {% block pyerr %}{{ super() }}
16 {% block pyerr %}::
17 {{ super() }}
17 {% endblock pyerr %}
18 {% endblock pyerr %}
18
19
19 {% block traceback_line %}
20 {% block traceback_line %}
20 {{ line |indent| rm_ansi }}{% endblock traceback_line %}
21 {{ line |indent| rm_ansi }}{% endblock traceback_line %}
21
22
22 {% block pyout %}
23 {% block pyout %}
23 .. parsed-literal::
24 {% block data_priority scoped %}{{ super()}}{% endblock %}
24
25 {{ output.text| indent }}
26 {% endblock pyout %}
25 {% endblock pyout %}
27
26
28 {% block stream %}
27 {% block stream %}
@@ -42,6 +41,18 b' Out[{{cell.prompt_number}}]:{% endif %}{% endblock output_prompt %}'
42
41
43 {% endblock data_png %}
42 {% endblock data_png %}
44
43
44 {% block data_jpg %}..jpg image:: {{output.key_jpg}}
45
46 {% endblock data_jpg %}
47
48
49
50 {% block data_latex %}.. math::
51
52 {{output.latex| indent}}
53
54 {% endblock data_latex %}
55
45 {% block data_text scoped %}.. parsed-literal::
56 {% block data_text scoped %}.. parsed-literal::
46
57
47 {{output.text | indent}}
58 {{output.text | indent}}
General Comments 0
You need to be logged in to leave comments. Login now