mirror of
https://github.com/rendercv/rendercv.git
synced 2026-10-22 20:34:44 -04:00
add KaTeX support to docs
This commit is contained in:
1 parent
672325ea56
commit
7ea2710fc4
2 files changed
+39
-6
No files matched your search
@@ -0,0 +1,11 @@
|
||||
document$.subscribe(({ body }) => {
|
||||
renderMathInElement(body, {
|
||||
delimiters: [
|
||||
{ left: "$$", right: "$$", display: true },
|
||||
{ left: "$", right: "$", display: false },
|
||||
{ left: "\\(", right: "\\)", display: false },
|
||||
{ left: "\\[", right: "\\]", display: true }
|
||||
],
|
||||
})
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user