mirror of https://github.com/eyhc1/rendercv.git
docs: fix KaTeX instant loading
This commit is contained in:
parent
31cac973ee
commit
1e03cef907
|
@ -1,5 +1,5 @@
|
||||||
document$.subscribe(({ body }) => {
|
document$.subscribe(() => {
|
||||||
renderMathInElement(body, {
|
renderMathInElement(document.body, {
|
||||||
delimiters: [
|
delimiters: [
|
||||||
{ left: "$$", right: "$$", display: true },
|
{ left: "$$", right: "$$", display: true },
|
||||||
{ left: "$", right: "$", display: false },
|
{ left: "$", right: "$", display: false },
|
||||||
|
@ -8,4 +8,3 @@ document$.subscribe(({ body }) => {
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue