##// END OF EJS Templates
Backport jupyter/notebook#89...
Backport jupyter/notebook#89 fix highlighting of non-python kernels. mock the cm_config property also when set, unlike in non backported version of this PR

File last commit:

r18596:2d590459
r21377:45aa5dda
Show More
python.tpl
17 lines | 370 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'null.tpl' -%}
{% block header %}
# coding: utf-8
{% endblock header %}
{% block in_prompt %}
# In[{{ cell.execution_count if cell.execution_count else ' ' }}]:
{% endblock in_prompt %}
{% block input %}
{{ cell.source | ipython2python }}
{% endblock input %}
{% block markdowncell scoped %}
{{ cell.source | comment_lines }}
{% endblock markdowncell %}