From cf57affd358b0d2dd278ca97a65ed4739d046559 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Thu, 24 Sep 2020 14:14:57 +0530 Subject: Add katex CDN --- yaksh/static/yaksh/js/lesson.js | 2 +- yaksh/templates/base.html | 9 +++++++++ yaksh/templates/yaksh/add_module.html | 3 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/yaksh/static/yaksh/js/lesson.js b/yaksh/static/yaksh/js/lesson.js index 6eaf6c6..5ebb9bc 100644 --- a/yaksh/static/yaksh/js/lesson.js +++ b/yaksh/static/yaksh/js/lesson.js @@ -35,7 +35,7 @@ $(document).ready(function(){ function preview_text(data) { $("#description_body").empty(); $("#description_body").html(data); - MathJax.Hub.Queue(["Typeset",MathJax.Hub]); + // MathJax.Hub.Queue(["Typeset",MathJax.Hub]); } $("#embed").click(function() { diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html index c70c265..10f9661 100644 --- a/yaksh/templates/base.html +++ b/yaksh/templates/base.html @@ -20,6 +20,8 @@ + + {% block meta %} @@ -37,6 +39,13 @@ + + + + + + - + {% endblock %} {% block css %} -- cgit From 3e41537f022dd151ff7081d0a3441926d6e02756 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Thu, 24 Sep 2020 14:16:15 +0530 Subject: Remove comments --- yaksh/static/yaksh/js/lesson.js | 1 - yaksh/templates/yaksh/add_module.html | 1 - 2 files changed, 2 deletions(-) diff --git a/yaksh/static/yaksh/js/lesson.js b/yaksh/static/yaksh/js/lesson.js index 5ebb9bc..f582778 100644 --- a/yaksh/static/yaksh/js/lesson.js +++ b/yaksh/static/yaksh/js/lesson.js @@ -35,7 +35,6 @@ $(document).ready(function(){ function preview_text(data) { $("#description_body").empty(); $("#description_body").html(data); - // MathJax.Hub.Queue(["Typeset",MathJax.Hub]); } $("#embed").click(function() { diff --git a/yaksh/templates/yaksh/add_module.html b/yaksh/templates/yaksh/add_module.html index fe423a6..94f9402 100644 --- a/yaksh/templates/yaksh/add_module.html +++ b/yaksh/templates/yaksh/add_module.html @@ -11,7 +11,6 @@ - {% endblock %} {% block css %} -- cgit