##// END OF EJS Templates
fix data priority rst
Matthias BUSSONNIER -
Show More
@@ -8,6 +8,6 b" c.NbconvertApp.fileext='rst'"
8 8 c.ExtractFigureTransformer.enabled=True
9 9
10 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 14 {% endblock input %}
15 15
16 {% block pyerr %}{{ super() }}
16 {% block pyerr %}::
17 {{ super() }}
17 18 {% endblock pyerr %}
18 19
19 20 {% block traceback_line %}
20 21 {{ line |indent| rm_ansi }}{% endblock traceback_line %}
21 22
22 23 {% block pyout %}
23 .. parsed-literal::
24
25 {{ output.text| indent }}
24 {% block data_priority scoped %}{{ super()}}{% endblock %}
26 25 {% endblock pyout %}
27 26
28 27 {% block stream %}
@@ -42,6 +41,18 b' Out[{{cell.prompt_number}}]:{% endif %}{% endblock output_prompt %}'
42 41
43 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 56 {% block data_text scoped %}.. parsed-literal::
46 57
47 58 {{output.text | indent}}
General Comments 0
You need to be logged in to leave comments. Login now