From c2bb0a26909882268aa4caadeed5f4fe183ed33d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20H=C3=B6rtenhuber?= Date: Thu, 1 Feb 2024 11:29:49 +0100 Subject: [PATCH] fix mathjax rendering --- docs/javascripts/mathjax.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/javascripts/mathjax.js b/docs/javascripts/mathjax.js index 954b660..5b34852 100644 --- a/docs/javascripts/mathjax.js +++ b/docs/javascripts/mathjax.js @@ -11,6 +11,9 @@ window.MathJax = { } }; -document$.subscribe(() => { +document$.subscribe(() => { + MathJax.startup.output.clearCache() + MathJax.typesetClear() + MathJax.texReset() MathJax.typesetPromise() -}) \ No newline at end of file +})