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