##// END OF EJS Templates
Allow '.', '+.', '+', '-.', and '-' even though without numbers, they cannot be parsed.
Allow '.', '+.', '+', '-.', and '-' even though without numbers, they cannot be parsed.

File last commit:

r14881:a678d010
r16019:3e757c51
Show More
python.tpl
17 lines | 443 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'null.tpl' -%}
{% block in_prompt %}
# In[{{ cell.prompt_number if cell.prompt_number else ' ' }}]:
{% endblock in_prompt %}
{% block input %}
{{ cell.input | ipython2python }}
{% endblock input %}
{% block markdowncell scoped %}
{{ cell.source | comment_lines }}
{% endblock markdowncell %}
{% block headingcell scoped %}
{{ '#' * cell.level }}{{ cell.source | replace('\n', ' ') | comment_lines }}
{% endblock headingcell %}