##// END OF EJS Templates
Merge pull request #6828 from takluyver/terminal-list...
Merge pull request #6828 from takluyver/terminal-list Add terminals tab to the dashboard

File last commit:

r16119:8e762699
r18615:96791286 merge
Show More
python.tpl
21 lines | 501 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 %}
damianavila
Redo of fixing templates structure.
r11770 # In[{{ cell.prompt_number if cell.prompt_number else ' ' }}]:
Matthias BUSSONNIER
bring back python.tpl
r9605 {% endblock in_prompt %}
damianavila
Redo of fixing templates structure.
r11770 {% block input %}
{{ cell.input | 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 %}
{% block headingcell scoped %}
Jonathan Frederic
Filter names cleanup
r11685 {{ '#' * cell.level }}{{ cell.source | replace('\n', ' ') | comment_lines }}
Matthias BUSSONNIER
bring back python.tpl
r9605 {% endblock headingcell %}