Skip to content

Commit

Permalink
fix mathjax rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu authored Feb 1, 2024
1 parent 2df5664 commit c2bb0a2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/javascripts/mathjax.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ window.MathJax = {
}
};

document$.subscribe(() => {
document$.subscribe(() => {
MathJax.startup.output.clearCache()
MathJax.typesetClear()
MathJax.texReset()
MathJax.typesetPromise()
})
})

0 comments on commit c2bb0a2

Please sign in to comment.