Skip to content

Commit

Permalink
regression fixed in mkdocs material
Browse files Browse the repository at this point in the history
  • Loading branch information
Burhan-Q authored Feb 29, 2024
1 parent 13aabf7 commit 4a3173c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/overrides/javascript/katex.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
document$.subscribe(({ body }) => {
renderMathInElement(document.body, {
renderMathInElement(body, {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
{ left: "\\(", right: "\\)", display: false },
{ left: "\\[", right: "\\]", display: true }
],
})
})
})

0 comments on commit 4a3173c

Please sign in to comment.