Show More
@@ -23,7 +23,11 b'' | |||||
23 |
|
23 | |||
24 | {% block in_prompt -%} |
|
24 | {% block in_prompt -%} | |
25 | <div class="prompt input_prompt"> |
|
25 | <div class="prompt input_prompt"> | |
|
26 | {%- if cell.prompt_number is defined -%} | |||
26 | In [{{ cell.prompt_number|replace(None, " ") }}]: |
|
27 | In [{{ cell.prompt_number|replace(None, " ") }}]: | |
|
28 | {%- else -%} | |||
|
29 | In [ ]: | |||
|
30 | {%- endif -%} | |||
27 | </div> |
|
31 | </div> | |
28 | {%- endblock in_prompt %} |
|
32 | {%- endblock in_prompt %} | |
29 |
|
33 | |||
@@ -51,8 +55,12 b' In [{{ cell.prompt_number|replace(None, " ") }}]:' | |||||
51 | <div class="output_area"> |
|
55 | <div class="output_area"> | |
52 | {%- if output.output_type == 'pyout' -%} |
|
56 | {%- if output.output_type == 'pyout' -%} | |
53 | <div class="prompt output_prompt"> |
|
57 | <div class="prompt output_prompt"> | |
|
58 | {%- if cell.prompt_number is defined -%} | |||
54 | Out[{{ cell.prompt_number|replace(None, " ") }}]: |
|
59 | Out[{{ cell.prompt_number|replace(None, " ") }}]: | |
55 | {%- else -%} |
|
60 | {%- else -%} | |
|
61 | Out[ ]: | |||
|
62 | {%- endif -%} | |||
|
63 | {%- else -%} | |||
56 | <div class="prompt"> |
|
64 | <div class="prompt"> | |
57 | {%- endif -%} |
|
65 | {%- endif -%} | |
58 | </div> |
|
66 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now