From 4df2ffb5ade6ffec7b3bea4cd95bd72d7822d093 Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 6 Nov 2020 18:33:31 +0530 Subject: Change the delimiter for katex rendering --- yaksh/static/yaksh/js/lesson.js | 4 ++-- yaksh/templates/base.html | 4 ++-- yaksh/templates/yaksh/show_lesson_quiz.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'yaksh') 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}, ] } ); -- cgit