diff --git a/docs/assets/javascripts/katex.js b/docs/assets/javascripts/katex.js index 8debf9f..baabe41 100644 --- a/docs/assets/javascripts/katex.js +++ b/docs/assets/javascripts/katex.js @@ -1,11 +1,10 @@ -document$.subscribe(({ body }) => { - renderMathInElement(body, { - delimiters: [ - { left: "$$", right: "$$", display: true }, - { left: "$", right: "$", display: false }, - { left: "\\(", right: "\\)", display: false }, - { left: "\\[", right: "\\]", display: true } - ], - }) +document$.subscribe(() => { + renderMathInElement(document.body, { + delimiters: [ + { left: "$$", right: "$$", display: true }, + { left: "$", right: "$", display: false }, + { left: "\\(", right: "\\)", display: false }, + { left: "\\[", right: "\\]", display: true } + ], }) - \ No newline at end of file +}) \ No newline at end of file