mirror of
https://gitlab.waag.org/make/fablab/interns/2025/sam.git
synced 2025-08-03 20:04:56 +00:00
math
This commit is contained in:
13
docs/javascripts/katex.js
Normal file
13
docs/javascripts/katex.js
Normal file
@@ -0,0 +1,13 @@
|
||||
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