docs/javascripts: add
This commit is contained in:
parent
27172c6ab2
commit
bf5eea7dc5
1 changed files with 10 additions and 0 deletions
10
docs/javascripts/katex.js
Normal file
10
docs/javascripts/katex.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
document$.subscribe(({ body }) => {
|
||||||
|
renderMathInElement(body, {
|
||||||
|
delimiters: [
|
||||||
|
{ left: "$$", right: "$$", display: true },
|
||||||
|
{ left: "$", right: "$", display: false },
|
||||||
|
{ left: "\\(", right: "\\)", display: false },
|
||||||
|
{ left: "\\[", right: "\\]", display: true }
|
||||||
|
],
|
||||||
|
})
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue