##// END OF EJS Templates
Added rm_math_space to markdown cells in the basichtml.tpl to be rendered ok by mathjax after the nbconvertion.
damianavila -
Show More
@@ -53,13 +53,13 b' Out[{{cell.prompt_number}}]:'
53
53
54 {% block markdowncell scoped %}
54 {% block markdowncell scoped %}
55 <div class="text_cell_render border-box-sizing rendered_html">
55 <div class="text_cell_render border-box-sizing rendered_html">
56 {{ cell.source | markdown| rm_fake}}
56 {{ cell.source | rm_math_space | markdown | rm_fake}}
57 </div>
57 </div>
58 {%- endblock markdowncell %}
58 {%- endblock markdowncell %}
59
59
60 {% block headingcell scoped %}
60 {% block headingcell scoped %}
61 <div class="text_cell_render border-box-sizing rendered_html">
61 <div class="text_cell_render border-box-sizing rendered_html">
62 {{("#" * cell.level + cell.source) | replace('\n', ' ') | markdown | rm_fake | add_anchor }}
62 {{("#" * cell.level + cell.source) | replace('\n', ' ') | rm_math_space | markdown | rm_fake | add_anchor }}
63 </div>
63 </div>
64 {% endblock headingcell %}
64 {% endblock headingcell %}
65
65
General Comments 0
You need to be logged in to leave comments. Login now