Show More
@@ -80,12 +80,6 b' In [{{ cell.prompt_number }}]:' | |||
|
80 | 80 | </div> |
|
81 | 81 | {% endblock headingcell %} |
|
82 | 82 | |
|
83 | {%- block rawcell scoped -%} | |
|
84 | {% if cell.metadata.get('raw_mimetype', resources.get('raw_mimetype', '')).lower() in resources.get('raw_mimetypes', ['']) %} | |
|
85 | {{ cell.source }} | |
|
86 | {% endif %} | |
|
87 | {%- endblock rawcell -%} | |
|
88 | ||
|
89 | 83 | {% block unknowncell scoped %} |
|
90 | 84 | unknown type {{ cell.type }} |
|
91 | 85 | {% endblock unknowncell %} |
@@ -77,7 +77,7 b' consider calling super even if it is a leave block, we might insert more blocks ' | |||
|
77 | 77 | {%- endblock headingcell -%} |
|
78 | 78 | {%- elif cell.cell_type in ['raw'] -%} |
|
79 | 79 | {%- block rawcell scoped -%} |
|
80 | {% if cell.metadata.get('raw_mimetype', '').lower() in resources.get('raw_mimetypes', ['']) %} | |
|
80 | {% if cell.metadata.get('raw_mimetype', resources.get('raw_mimetype', '')).lower() in resources.get('raw_mimetypes', ['']) %} | |
|
81 | 81 | {{ cell.source }} |
|
82 | 82 | {% endif %} |
|
83 | 83 | {%- endblock rawcell -%} |
General Comments 0
You need to be logged in to leave comments.
Login now