Skip to content

Commit

Permalink
Fix latex rendering on page load (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahouseholder authored Mar 5, 2024
1 parent 0213b6d commit 27f9bce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/javascripts/mathjax.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ window.MathJax = {
};

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

0 comments on commit 27f9bce

Please sign in to comment.