This commit is contained in:
mxr612 2024-05-06 16:39:18 +08:00
commit 18498063c6
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored Executable file
View File

@ -0,0 +1 @@
.vscode/*

BIN
Icon.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

10
javascripts/katex.js Executable file
View 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 }
],
})
})