summaryrefslogtreecommitdiff
path: root/yaksh/templates/base.html
diff options
context:
space:
mode:
authoradityacp2020-11-03 17:52:24 +0530
committeradityacp2020-11-03 17:54:33 +0530
commitaef2589eadaf7f3252e281286ab1bb83e690ba6a (patch)
tree1764959aca48f835be56c0819cddd286aeb8b4df /yaksh/templates/base.html
parent167b53a673630c4243c5d82a5966797213a5fa28 (diff)
parent81f96a24954d375ab32ab8dfb1ee8aba299655c6 (diff)
downloadonline_test-aef2589eadaf7f3252e281286ab1bb83e690ba6a.tar.gz
online_test-aef2589eadaf7f3252e281286ab1bb83e690ba6a.tar.bz2
online_test-aef2589eadaf7f3252e281286ab1bb83e690ba6a.zip
Resolve conflicts
Diffstat (limited to 'yaksh/templates/base.html')
-rw-r--r--yaksh/templates/base.html16
1 files changed, 14 insertions, 2 deletions
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index a108f8c..cba56cb 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -52,11 +52,23 @@
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.js" integrity="sha384-g7c+Jr9ZivxKLnZTDUhnkOnsh30B4H0rpLUpJ4jAIKs4fnJI+sEnkvrMWph2EDg4" crossorigin="anonymous"></script>
<!-- To automatically render math in text elements, include the auto-render extension: -->
- <script defer src="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/contrib/auto-render.min.js" integrity="sha384-mll67QQFJfxn0IYznZYonOWZ644AWYC+Pt2cHqMaRhXVrursRwvLnLaebdGIlYNa" crossorigin="anonymous"
- onload="renderMathInElement(document.body);"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
+ <script defer src="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/contrib/auto-render.min.js" integrity="sha384-mll67QQFJfxn0IYznZYonOWZ644AWYC+Pt2cHqMaRhXVrursRwvLnLaebdGIlYNa" crossorigin="anonymous">
+ </script>
+
<script>
new WOW().init();
+ $(document).ready(function() {
+ renderMathInElement(
+ document.body,
+ {
+ delimiters: [
+ {left: "$$", right: "$$", display: false},
+ {left: "$", right: "$", display: true},
+ ]
+ }
+ );
+ });
</script>
{% block script %}
{% endblock %}