Upgrade to MathJax 3
This commit is contained in:
parent
6bd15ded9c
commit
710fae5fe3
6 changed files with 31 additions and 37 deletions
|
@ -3,9 +3,9 @@ function mathjax_pagedown($) {
|
|||
$.each(window.editors, function (id, editor) {
|
||||
var preview = $('div.wmd-preview#' + id + '_wmd_preview')[0];
|
||||
editor.hooks.chain('onPreviewRefresh', function () {
|
||||
MathJax.Hub.Queue(["Typeset", MathJax.Hub, preview]);
|
||||
MathJax.typeset(preview);
|
||||
});
|
||||
MathJax.Hub.Queue(["Typeset", MathJax.Hub, preview]);
|
||||
MathJax.typeset(preview);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue