##// END OF EJS Templates
Backport PR #8121: fix compress_user comparison...
Backport PR #8121: fix compress_user comparison move `.lower()` outside compress_user, otherwise it can prevent the substition, e.g. on OS X, where home is `/Users/[name]`

File last commit:

r18596:2d590459
r20881:18d1c6c7
Show More
python.tpl
17 lines | 370 B | application/vnd.groove-tool-template | SmartyLexer
Matthias BUSSONNIER
bring back python.tpl
r9605 {%- extends 'null.tpl' -%}
Thomas Kluyver
Add coding magic comment to nbconvert Python template...
r16119 {% block header %}
# coding: utf-8
{% endblock header %}
Matthias BUSSONNIER
bring back python.tpl
r9605 {% block in_prompt %}
MinRK
s/prompt_number/execution_count in nbformat 4
r18587 # In[{{ cell.execution_count if cell.execution_count else ' ' }}]:
Matthias BUSSONNIER
bring back python.tpl
r9605 {% endblock in_prompt %}
damianavila
Redo of fixing templates structure.
r11770 {% block input %}
MinRK
update nbconvert to nbformat 4
r18580 {{ cell.source | ipython2python }}
Matthias BUSSONNIER
bring back python.tpl
r9605 {% endblock input %}
{% block markdowncell scoped %}
Jonathan Frederic
Filter names cleanup
r11685 {{ cell.source | comment_lines }}
Matthias BUSSONNIER
bring back python.tpl
r9605 {% endblock markdowncell %}