From c4be452682b2f9363e95585a4e5f7aac968bbb7b Mon Sep 17 00:00:00 2001 From: Nekori Date: Tue, 27 Apr 2021 10:36:12 +0200 Subject: [PATCH] Affichage du langage Latex --- html/base.html | 1 + html/base.js | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/html/base.html b/html/base.html index 0396971..f56f008 100644 --- a/html/base.html +++ b/html/base.html @@ -7,6 +7,7 @@ + diff --git a/html/base.js b/html/base.js index c27d364..f6d63c7 100644 --- a/html/base.js +++ b/html/base.js @@ -15,4 +15,11 @@ $("document").ready(function() { $("#rechercher").keyup(function(e) { if(e.keyCode == 13) {location.href = $(this).val().toUpperCase() + ".html"} }); -}); \ No newline at end of file +}); + +// Permet l'affichage du LaTeX avec comme balise délimiteur "$" +MathJax = { + tex: { + inlineMath: [['$', '$']] + } + }; \ No newline at end of file