Fix : katex now work as expected

This commit is contained in:
slashformotion 2021-07-28 11:02:23 +02:00
commit 0299aa32d3
5 changed files with 27 additions and 29 deletions
static/js

View file

@ -1,14 +1,12 @@
<script>
renderMathInElement(
renderMathInElement(
document.body,
{
{
delimiters: [
{left: "$$", right: "$$", display: true},
{left: "\\[", right: "\\]", display: true},
{left: "$", right: "$", display: true},
{left: "\\(", right: "\\)", display: true}
],
displayMode: true
}
);
</script>
{ left: "$$", right: "$$", display: true },
{ left: "\\[", right: "\\]", display: true },
{ left: "$", right: "$", display: false },
{ left: "\\(", right: "\\)", display: false }
],
displayMode: true
}
);