##// END OF EJS Templates
Display prompts in html nbconvert output
Jessica B. Hamrick -
Show More
@@ -23,7 +23,7 b''
23
23
24 {% block in_prompt -%}
24 {% block in_prompt -%}
25 <div class="prompt input_prompt">
25 <div class="prompt input_prompt">
26 In&nbsp;[{{ cell.prompt_number }}]:
26 In&nbsp;[{{ cell.prompt_number|replace(None, "&nbsp;") }}]:
27 </div>
27 </div>
28 {%- endblock in_prompt %}
28 {%- endblock in_prompt %}
29
29
@@ -51,7 +51,7 b' In&nbsp;[{{ cell.prompt_number }}]:'
51 <div class="output_area">
51 <div class="output_area">
52 {%- if output.output_type == 'pyout' -%}
52 {%- if output.output_type == 'pyout' -%}
53 <div class="prompt output_prompt">
53 <div class="prompt output_prompt">
54 Out[{{ cell.prompt_number }}]:
54 Out[{{ cell.prompt_number|replace(None, "&nbsp;") }}]:
55 {%- else -%}
55 {%- else -%}
56 <div class="prompt">
56 <div class="prompt">
57 {%- endif -%}
57 {%- endif -%}
General Comments 0
You need to be logged in to leave comments. Login now