##// END OF EJS Templates
Backport PR #4849: Various unicode fixes (mostly on Windows)...
Backport PR #4849: Various unicode fixes (mostly on Windows) There were warnings on startup of IPython, and the qtconsole and notebook could not be started at all if the user's home directory is unicode. Changes: - add `prefer_stream=True` flag to utils.encoding.getdefaultencoding, since the right answer is different for stream output and other things. - always encode args to Popen on Windows Python 2 - never add unicode to sys.path on Python 2 These should be backported for 1.2, and it would be great if some unicode-locale Windows users (@jstenar) could double check the sanity of the changes.

File last commit:

r12468:fd6d484f
r14916:7cbbbbc4
Show More
markdown.tpl
71 lines | 1.4 KiB | application/vnd.groove-tool-template | SmartyLexer
Matthias BUSSONNIER
do a markdown converter
r9701 {% extends 'display_priority.tpl' %}
damianavila
Redo of fixing templates structure.
r11770
Matthias BUSSONNIER
do a markdown converter
r9701 {% block in_prompt %}
damianavila
Redo of fixing templates structure.
r11770 {% endblock in_prompt %}
Matthias BUSSONNIER
do a markdown converter
r9701
damianavila
Redo of fixing templates structure.
r11770 {% block output_prompt %}
{%- endblock output_prompt %}
Matthias BUSSONNIER
do a markdown converter
r9701
{% block input %}
MinRK
Backport PR #4174: various issues in markdown and rst templates...
r12468 {{ cell.input | indent(4)}}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock input %}
{% block pyerr %}
{{ super() }}
{% endblock pyerr %}
{% block traceback_line %}
damianavila
Redo of fixing templates structure.
r11770 {{ line | indent | strip_ansi }}
{% endblock traceback_line %}
Matthias BUSSONNIER
do a markdown converter
r9701
{% block pyout %}
MinRK
Backport PR #4174: various issues in markdown and rst templates...
r12468
damianavila
Redo of fixing templates structure.
r11770 {% block data_priority scoped %}
{{ super() }}
{% endblock %}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock pyout %}
{% block stream %}
damianavila
Redo of fixing templates structure.
r11770 {{ output.text | indent }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock stream %}
{% block data_svg %}
MinRK
Backport PR #4174: various issues in markdown and rst templates...
r12468 ![svg]({{ output.svg_filename | path2url }})
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock data_svg %}
{% block data_png %}
MinRK
Backport PR #4174: various issues in markdown and rst templates...
r12468 ![png]({{ output.png_filename | path2url }})
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock data_png %}
{% block data_jpg %}
MinRK
Backport PR #4174: various issues in markdown and rst templates...
r12468 ![jpeg]({{ output.jpeg_filename | path2url }})
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock data_jpg %}
{% block data_latex %}
damianavila
Redo of fixing templates structure.
r11770 {{ output.latex }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock data_latex %}
MinRK
Backport PR #4174: various issues in markdown and rst templates...
r12468 {% block data_html scoped %}
{{ output.html }}
{% endblock data_html %}
Matthias BUSSONNIER
do a markdown converter
r9701 {% block data_text scoped %}
damianavila
Redo of fixing templates structure.
r11770 {{ output.text | indent }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock data_text %}
{% block markdowncell scoped %}
damianavila
Redo of fixing templates structure.
r11770 {{ cell.source | wrap_text(80) }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock markdowncell %}
MinRK
Backport PR #4174: various issues in markdown and rst templates...
r12468
Matthias BUSSONNIER
do a markdown converter
r9701 {% block headingcell scoped %}
MinRK
enforce single-line heading cells in templates
r11303 {{ '#' * cell.level }} {{ cell.source | replace('\n', ' ') }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock headingcell %}
damianavila
Redo of fixing templates structure.
r11770 {% block rawcell scoped %}
{{ cell.source }}
Matthias BUSSONNIER
do a markdown converter
r9701 {% endblock rawcell %}
{% block unknowncell scoped %}
damianavila
Redo of fixing templates structure.
r11770 unknown type {{ cell.type }}
{% endblock unknowncell %}