Show More
@@ -12,7 +12,7 b'' | |||
|
12 | 12 | .. code:: python |
|
13 | 13 | |
|
14 | 14 | {{ cell.source | indent}} |
|
15 |
{% |
|
|
15 | {% endif -%} | |
|
16 | 16 | {% endblock input %} |
|
17 | 17 | |
|
18 | 18 | {% block error %} |
@@ -71,6 +71,12 b'' | |||
|
71 | 71 | {{ cell.source | markdown2rst }} |
|
72 | 72 | {% endblock markdowncell %} |
|
73 | 73 | |
|
74 | {%- block rawcell scoped -%} | |
|
75 | {%- if cell.metadata.get('raw_mimetype', '').lower() in resources.get('raw_mimetypes', ['']) %} | |
|
76 | {{cell.source}} | |
|
77 | {% endif -%} | |
|
78 | {%- endblock rawcell -%} | |
|
79 | ||
|
74 | 80 | {% block headingcell scoped %} |
|
75 | 81 | {{ ("#" * cell.level + cell.source) | replace('\n', ' ') | markdown2rst }} |
|
76 | 82 | {% endblock headingcell %} |
General Comments 0
You need to be logged in to leave comments.
Login now