summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authoradityacp2020-11-06 18:33:31 +0530
committeradityacp2020-11-06 18:33:31 +0530
commit4df2ffb5ade6ffec7b3bea4cd95bd72d7822d093 (patch)
tree533bc12646ac1a71c0d18798d430f1584cf93467 /yaksh
parent1ad9f3176c2df25df1f8fae601eef657e39f8b46 (diff)
downloadonline_test-4df2ffb5ade6ffec7b3bea4cd95bd72d7822d093.tar.gz
online_test-4df2ffb5ade6ffec7b3bea4cd95bd72d7822d093.tar.bz2
online_test-4df2ffb5ade6ffec7b3bea4cd95bd72d7822d093.zip
Change the delimiter for katex rendering
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/static/yaksh/js/lesson.js4
-rw-r--r--yaksh/templates/base.html4
-rw-r--r--yaksh/templates/yaksh/show_lesson_quiz.html4
3 files changed, 6 insertions, 6 deletions
diff --git a/yaksh/static/yaksh/js/lesson.js b/yaksh/static/yaksh/js/lesson.js
index 586ae18..64ac4da 100644
--- a/yaksh/static/yaksh/js/lesson.js
+++ b/yaksh/static/yaksh/js/lesson.js
@@ -10,8 +10,8 @@ $(document).ready(function() {
document.body,
{
delimiters: [
- {left: "$$", right: "$$", display: false},
- {left: "$", right: "$", display: true},
+ {left: "$$", right: "$$", display: true},
+ {left: "$", right: "$", display: false},
]
}
);
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index cba56cb..90a6299 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -63,8 +63,8 @@
document.body,
{
delimiters: [
- {left: "$$", right: "$$", display: false},
- {left: "$", right: "$", display: true},
+ {left: "$$", right: "$$", display: true},
+ {left: "$", right: "$", display: false},
]
}
);
diff --git a/yaksh/templates/yaksh/show_lesson_quiz.html b/yaksh/templates/yaksh/show_lesson_quiz.html
index 82e01bc..39e590c 100644
--- a/yaksh/templates/yaksh/show_lesson_quiz.html
+++ b/yaksh/templates/yaksh/show_lesson_quiz.html
@@ -5,8 +5,8 @@
document.body,
{
delimiters: [
- {left: "$$", right: "$$", display: false},
- {left: "$", right: "$", display: true},
+ {left: "$$", right: "$$", display: true},
+ {left: "$", right: "$", display: false},
]
}
);