Upgrade to MathJax 3
This commit is contained in:
parent
6bd15ded9c
commit
710fae5fe3
6 changed files with 31 additions and 37 deletions
|
@ -1,12 +1,2 @@
|
|||
<script type="text/javascript" src="{{ static('mathjax_config.js') }}"></script>
|
||||
<script type="text/javascript"
|
||||
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML"></script>
|
||||
<script type="text/javascript">
|
||||
window.reload_mathjax = function () {
|
||||
MathJax.Hub.queue.Push(function () {
|
||||
$('.tex-image').hide();
|
||||
$('.tex-text').show();
|
||||
});
|
||||
};
|
||||
window.reload_mathjax();
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue