diff --git a/share/jupyter/nbconvert/templates/classic/index.html.j2 b/share/jupyter/nbconvert/templates/classic/index.html.j2 index 5fa8edcfa..4a313d1fa 100644 --- a/share/jupyter/nbconvert/templates/classic/index.html.j2 +++ b/share/jupyter/nbconvert/templates/classic/index.html.j2 @@ -73,7 +73,9 @@ div#notebook-container{ {% endblock notebook_css %} +{%- block html_head_js_mathjax -%} {{ mathjax() }} +{%- endblock html_head_js_mathjax -%} {%- block html_head_css -%} {%- endblock html_head_css -%} diff --git a/share/jupyter/nbconvert/templates/lab/index.html.j2 b/share/jupyter/nbconvert/templates/lab/index.html.j2 index 271df534f..262e08059 100644 --- a/share/jupyter/nbconvert/templates/lab/index.html.j2 +++ b/share/jupyter/nbconvert/templates/lab/index.html.j2 @@ -66,7 +66,9 @@ a.anchor-link { {% endblock notebook_css %} +{%- block html_head_js_mathjax -%} {{ mathjax() }} +{%- endblock html_head_js_mathjax -%} {%- block html_head_css -%} {%- endblock html_head_css -%}