Show More
@@ -12,7 +12,7 b'' | |||||
12 | .. code:: python |
|
12 | .. code:: python | |
13 |
|
13 | |||
14 | {{ cell.source | indent}} |
|
14 | {{ cell.source | indent}} | |
15 |
{% |
|
15 | {% endif -%} | |
16 | {% endblock input %} |
|
16 | {% endblock input %} | |
17 |
|
17 | |||
18 | {% block error %} |
|
18 | {% block error %} | |
@@ -71,6 +71,12 b'' | |||||
71 | {{ cell.source | markdown2rst }} |
|
71 | {{ cell.source | markdown2rst }} | |
72 | {% endblock markdowncell %} |
|
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 | {% block headingcell scoped %} |
|
80 | {% block headingcell scoped %} | |
75 | {{ ("#" * cell.level + cell.source) | replace('\n', ' ') | markdown2rst }} |
|
81 | {{ ("#" * cell.level + cell.source) | replace('\n', ' ') | markdown2rst }} | |
76 | {% endblock headingcell %} |
|
82 | {% endblock headingcell %} |
General Comments 0
You need to be logged in to leave comments.
Login now