Added back Mathjax that has bug of showing math twice.

Thanks to macthecadillac, Dexus and xet7 !

Related 19703fed31 (commitcomment-139091804),
opens #5117
This commit is contained in:
Lauri Ojansivu 2024-02-27 14:36:51 +02:00
parent b24694bea3
commit f43dadc068
3 changed files with 264 additions and 2 deletions

View file

@ -38,8 +38,8 @@ for(var i=0; i<urlschemes.length;i++){
var emoji = require('markdown-it-emoji');
Markdown.use(emoji);
//var mathjax = require('markdown-it-mathjax3');
//Markdown.use(mathjax);
var mathjax = require('markdown-it-mathjax3');
Markdown.use(mathjax);
// Try to fix Mermaid Diagram error: Maximum call stack size exceeded.
// Added bigger text size for Diagram.