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 }) => {
|
||||
renderMathInElement(body, {
|
||||
document$.subscribe(() => {
|
||||
renderMathInElement(document.body, {
|
||||
delimiters: [
|
||||
{ left: "$$", right: "$$", display: true },
|
||||
{ left: "$", right: "$", display: false },
|
||||
|
@ -8,4 +8,3 @@ document$.subscribe(({ body }) => {
|
|||
],
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue